Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 2.5 KB

Installation.md

File metadata and controls

42 lines (30 loc) · 2.5 KB

R and RStudio installation instructions

Participants are welcome to bring and use their own laptops with the software already installed (with a working Internet connection), to ensure that you can continue using what you learn once you leave the workshop. However, if you need, you can use one of the Library's training computers, as they all offer the necessary software.

Install R and RStudio

For the workshop, we will use RStudio. RStudio is a handy interface to use the programming language R. To use RStudio, you need to install both R and RStudio.

Please go through the installation steps below to install R and RStudio before the start of the workshop. Please also make sure that the software runs as expected once it is installed.

If you use a UQ computer and don't have administrator rights, you might need to contact ITS for assistance.

Windows

To use RStudio, you need to install both R and RStudio

macOS

To use RStudio, you need to install both R and RStudio

  • Go to the R website
  • Select the .pkg file for the version of macOS that you have
  • Double-click on the file that was downloaded and R will install
  • Go to the RStudio Download page
  • Select the macOS installer
  • Once it's downloaded, double click the file to install it
  • Once it's installed, open RStudio to make sure it works and there is no error messages.

Linux

To use RStudio, you need to install both R and RStudio

  • Download R by following the instructions for your distribution from CRAN. For most distributions, you can use your package manager (e.g. for Debian/Ubuntu run sudo apt-get install r-base, and for Fedora run sudo yum install R)
  • Go to the RStudio Download page
  • Select the installer for your distribution.
  • Once it's downloaded, double click the file to install it, or use a command like sudo dpkg -i rstudio-x.yy.zzz-amd64.deb in the terminal
  • Once it's installed, open RStudio to make sure it works and there is no error messages.