Back to Blog
Rstudio for mac m16/19/2023 ![]() ![]() ![]() On "Select Components" screen, select Archive then click Filter button, otherwise you won't see version 5.12.10.Select "Custom installation" (the default).Use the default installation folder (~/Qt).You already installed the command-line tools and can ignore this erroneous warning. As of this writing, the installer warns that you need to install XCode and the command-line tools.(Spotted Wakerobin or older only) Install Qt 5.12.10 via "Download the Qt Online Installer" near bottom of.Install the XCode command-line tools (C++ compiler and friends), from the terminal: xcode-select -install.For M1, this is fine because when running RStudio Desktop because both will be x86_64 and run with Rosetta2. You might see a "Package Authoring Error" message when running this command.From the terminal: /usr/sbin/softwareupdate -install-rosetta -agree-to-license You will be prompted to do this when necessary, but I like to get it out of the way up front. (M1 Only) Install Rosetta2 so Intel binaries will work.RStudio Desktop (Qt) can only be built for Intel (Qt limitation) UPDATE: as of Elsbeth Geranium (starting summer 2022) we are no longer building the Qt-based open-source desktop, only Electron, so it is no longer necessary to install Qt unless you need to build Qt-based Desktop IDE for Spotted-Wakerobin or older or need to build RStudio Desktop Pro, which is still Qt-based but will be converted to Electron in a future release.RStudio Server and Electron desktop can be built and executed entirely M1 native.Homebrew package manager ( ) must be installed twice once for M1, once for Intel.If you're familiar with setting up an Intel Mac for RStudio development, here are the differences: Summary of Differences from Intel Machine Setup These steps can also be used on an Intel Mac just leave out the parts annotated with (M1 Only). This will enable building and debugging RStudio Server and RStudio Desktop (both QtWebEngine and Electron flavors). How to go from a clean M1 Mac to an RStudio IDE development machine. ![]()
0 Comments
Read More
Leave a Reply. |