官术网_书友最值得收藏!

Installing and setting up R

The official website of R is the Comprehensive R Archive Network (CRAN) at www.cran.r-project.org. At the time of writing, the most recent version of R is 3.4.1. This software is available for the three platforms: Linux, macOS X, and Windows.

Installing and setting up R

The CRAN Website (snapshot)

A Linux user may simply key in sudo apt-get install r-base in the Terminal, and post the return of the right password and privilege levels, and the R software would be installed. After the completion of the download and installation, the software is started by simply keying in R in the Terminal.

A Windows user needs to perform the following steps:

  1. Firstly, click on Download R for Windows, as shown in the preceding screenshot.
  2. Then in the base subdirectory click on install R for the first time.
  3. In the new window, click on Download R 3.4.0 for Windows and download the .exe file to a directory of your choice.
  4. The completely downloaded R-3.0.0-win.exe file can be installed as any other .exe file.
  5. The R software may be invoked either from the Start menu, or from the icon on the desktop. The installed versions of R in Windows and Linux appears as follows: Installing and setting up R
主站蜘蛛池模板: 濮阳县| 泾阳县| 辽中县| 德江县| 永康市| 滦平县| 鹤壁市| 肃宁县| 白银市| 酒泉市| 彭州市| 环江| 贺州市| 根河市| 小金县| 磐安县| 沐川县| 荃湾区| 崇文区| 岚皋县| 巴彦淖尔市| 隆林| 监利县| 股票| 夹江县| 山丹县| 乌拉特中旗| 绍兴市| 远安县| 平武县| 金乡县| 高州市| 眉山市| 宜兰县| 商洛市| 从江县| 腾冲县| 昭觉县| 卢氏县| 兰西县| 房产|