appendix B Installing RStudio

 

Visit the RStudio Downloads page at www.rstudio.com/products/rstudio/download and follow the instructions to install RStudio on your machine.

Installing RStudio

  • Windows — Download the latest .exe file. Double-click that file to begin the install process, and follow any prompts.
  • Mac — Download the latest .dmg file. Double-click that file to begin the install process, and follow any prompts.
  • Linux — Download the appropriate file for your machine’s architecture (.deb for Ubuntu/Debian, .rpm for Fedora/RedHat/openSUSE) to a folder on your machine (for example, /tmp/).

For Ubuntu/Debian:

cd <where_you_saved_the_.deb_file>                   #1  
dpkg -i rstudio-v.vv.vvv-aaaaa.deb                   #2  

#1   Saving installation files to /tmp is typical.
#2   v denotes version (for example, 1.1.414), a denotes architecture (i386 or amd64). The exact format of the filename may differ.

For Fedora/RedHat/openSUSE:

cd <where_you_saved_the_.rpm_file>                   #1  
yum install rstudio-v.vv.vvv-aaaaa.rpm               #2  

#1   Saving installation files to /tmp is typical.
#2   v denotes version (for example, 1.1.414), a denotes architecture (i686 or x86_64). The exact format of the filename may differ.

Packages used in this book