install
First install R itself and then RStudio. Follow the steps below depending on your operating system.
Jump to section: Windows, Mac, Linux, Manjaro
Mac
Either
- install homebrew
- in the terminal, run (one after the other)
brew install --cask r
brew install --cask rstudio - change the .RData settings to enhance reproducibility
or
- install Xquartz
- from cran.r-project.org/bin/macosx, download the latest release, e.g.
R-4.5.2.pkg - open the file with ‘Installer’ and follow the instructions
- install RStudio
- drag the app to the ‘Applications’ folder
- change the .RData settings to enhance reproducibility
Linux
- open a terminal (CTRL+ALT+T) and paste (CTRL+SHIFT+V) the lines from the Ubuntu instructions one by one, but:
- download the RStudio deb file and run:
sudo apt install gdebi-core
sudo gdebi rstudio-*.deb - change the .RData settings to enhance reproducibility
- if you expect to install many packages with non-R dependencies, check out r2u