
上QQ阅读APP看书,第一时间看更新
How to do it...
Perform the following steps to download and install RStudio for Windows and macOS users:
- Access RStudio's official site by using the following URL: http://www.rstudio.com/products/RStudio/

RStudio home page
- For the desktop version installation, click on RStudio Desktop under the Desktop section. It will redirect you to the bottom of the home page:

- 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
- It will display different installers for different OS types. Select the appropriate option and download the RStudio:

RStudio Download page
- Install RStudio by double-clicking on the downloaded packages. For Windows users, follow the onscreen instructions to install the application:

RStudio Installation page
- For Mac users, simply drag the RStudio icon to the Applications folder.
- 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