a. For Mac OS users, you can download R here.
- For R ≥4.1.0 there is a separate build for ARM-based Macs (also known as ‘M1/M2/M3’ and ‘Apple Silicon’).
- Xcode Command Line Tools needs to be installed for packages that require compilation - to install execute the following command in Terminal (or see here):
xcode-select --install
- If having gfortran issues on Apple Silicon computers, check out the macrtools R package.
b. For Windows users, you can download R here.
c. For Linux users, you can download R here.
Download RStudio here
For tips on getting started, see the RStudio cheatsheet here
For more information on how RStudio and R interact, see here.
a. Mac OS:
- Simply downloading and installing a new version of
Rshould result in RStudio using the latest version. - By default
RStudiowill run against the current version of R.Framework. - List all of the versions of R.Framework on your system and determine which one is considered the current one by executing the following command in Terminal:
ls -l /Library/Frameworks/R.framework/Versions/ - To change the current version of R.Framework, you can either:
a. Run the installer from CRAN for the R version you want to be current.
b. Update the R.framework/Versions/Current directory alias directly usingln -s.
c. Override the RSTUDIO_WHICH_R environment variable to the R executable that you want to run against (add to ~/.profile file):export RSTUDIO_WHICH_R=/usr/local/bin/R
b. Windows:
- You may need to uninstall
Rto update it. - On Windows,
RStudiouses the system's current version ofRby default. - You can override which version of
Ris used via General panel of theRStudioOptions dialog. - Another option for Windows users is to use a package called
installr
c. Linux:
- Simply downloading and installing a new version of
Rshould result inRStudiousing the latest version. RStudiouses the version ofRpointed to by the output of the following command:which R- To override the RSTUDIO_WHICH_R environment variable to the
Rexecutable that you want to run against (add to ~/.profile file):export RSTUDIO_WHICH_R=/usr/local/bin/R
d. Updating RStudio
- Go to
Help > Check for Updates > Quit and Download... - Download and install.
a. Data Studio on the CAVATICA platform NEED BILLING GROUP, TESTING
b. Posit Cloud NEED TO TEST