B.1 Installation of R and RStudio
This is what you have to do in order to install R and RStudio in your own computer:
- In Mac OS X, if you want to have 3D functionality for packages like
rgl
, download and install firstXQuartz
and log out and back on your Mac OS X account246. Be sure that your Mac OS X system is up-to-date. - Download the latest version of R at https://cran.r-project.org/. For Windows, you can download it directly here. For Mac OS X, download the latest version here.
- Install R. In Windows, be sure to select the
'Startup options'
and then choose'SDI'
in the'Display Mode'
options. Leave the rest of installation options as default. - Download the latest version of RStudio for your system at https://www.rstudio.com/products/rstudio/download/#download and install it.
Linux users can follow the corresponding instructions here for installing R, download RStudio (only certain Ubuntu
and Fedora
versions are supported), and install it using a package manager.
This is an important step that is required for 3D graphics to work.↩︎