Machine Learning with R Cookbook(Second Edition)
上QQ阅读APP看书,第一时间看更新

How to do it...

Perform the following steps to download and install RStudio for Windows and macOS users:

  1. Access RStudio's official site by using the following URL: http://www.rstudio.com/products/RStudio/
RStudio home page
  1. For the desktop version installation, click on RStudio Desktop under the Desktop section. It will redirect you to the bottom of the home page:
  1. Click on the DOWNLOAD RSTUDIO DESKTOP button (http://www.rstudio.com/products/rstudio/download/), it will display download page, with the option of open source license and commercial license. Scroll down to RStudio Desktop Open Source License and click on DOWNLOAD button:
RStudio Download page
  1. It will display different installers for different OS types. Select the appropriate option and download the RStudio:
RStudio Download page
  1. Install RStudio by double-clicking on the downloaded packages. For Windows users, follow the onscreen instructions to install the application:
RStudio Installation page
  1. For Mac users, simply drag the RStudio icon to the Applications folder.
  2. Start RStudio:
The RStudio console

Perform the following steps for downloading and installing RStudio for Ubuntu/Debian and RedHat/CentOS users:

For Debian(6+)/Ubuntu(10.04+) 32 bit:

$ wget http://download1.rstudio.org/rstudio-0.98.1091-i386.deb
$ sudo gdebi rstudio-0.98. 1091-i386.deb  

For Debian(6+)/Ubuntu(10.04+) 64 bit:

$ wget http://download1.rstudio.org/rstudio-0.98. 1091-amd64.deb
$ sudo gdebi rstudio-0.98. 1091-amd64.deb  

For RedHat/CentOS(5,4+) 32 bit:

$ wget http://download1.rstudio.org/rstudio-0.98. 1091-i686.rpm
$ sudo yum install --nogpgcheck rstudio-0.98. 1091-i686.rpm  

For RedHat/CentOS(5,4+) 64 bit:

$ wget http://download1.rstudio.org/rstudio-0.98. 1091-x86_64.rpm
$ sudo yum install --nogpgcheck rstudio-0.98. 1091-x86_64.rpm