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

Installing R for Windows

The following steps shows how to download and install R on windows:

  1. The first step is to download your required version of R from the CRAN website [http://www.rproject.org/].
  2. Go to the official R website, which you can find at https://www.r-project.org/.
  3. The download link can be found on the left-hand side of the page.
  4. The next option is for you to choose the location of the server that holds R. The best option is to choose the mirror that is geographically closest to you. For example, if you are based in the UK, then you might choose the mirror that is located in Bristol.
  5. Once you click on the link, there is a section at the top of the page called Download and Install R. There is a different link for each operating system. To download the Windows-specific version of R, there is a link that specifies Download R for Windows. When you click on it, the download links will appear on the next page to download R.
  6. On the next page, there are a number of options, but it is easier to select the option that specifies install R for the first time.
  7. Finally, there is an option at the top of the page that allows you to download the latest R installation package. The install package is wrapped up in an EXE file, and both 32 bit and 64 bit options are wrapped up in the same file.

    Now that R is downloaded, the next step is to install R. The instructions are given here:

  8. Double-click on the R executable file, and select the language. In this example, we will use English. Choose your preferred language, and click OK to proceed:
    Installing R for Windows
  9. The Welcome page will appear, and you should click Next to continue:
    Installing R for Windows
  10. The next item is the general license agreement. Click Next to continue:
    Installing R for Windows
  11. The next step is to specify the destination location for R's files. In this example, the default is selected. Once the destination has been selected, click Next to proceed:
    Installing R for Windows
  12. In the next step, the components of R are configured. If you have a 32-bit machine, then you will need to select the 32-bit option from the drop-down list.
    Installing R for Windows
  13. In the next screenshot, the 64-bit User Installation option has been selected:
    Installing R for Windows
  14. The next option is to customize the startup options. Here, the default is selected. Click Next to continue.
    Installing R for Windows
  15. The next option is to select the Start Menu folder configuration. Select the default, and click Next:
    Installing R for Windows
  16. Next, it's possible to configure some of R's options, such as the creation of a desktop icon. Here, let's choose the default options and click Next:
    Installing R for Windows
  17. In the next step, the R files are copied to the computer. This step should only take a few moments:
    Installing R for Windows
  18. Finally, R is installed, and you should receive a final window. Click Finish:
    Installing R for Windows
  19. Once completed, launch RGui from the shortcut, or you can locate RGui.exe from your installation path. The default path for Windows is C:\Program Files\R\R- 2.15.1\bin\x64\Rgui.exe.
  20. Type help.start() at the R-Console prompt and press Enter. If you can see the help server page then you have successfully installed and configured your R package.
主站蜘蛛池模板: 新蔡县| 洛阳市| 荣成市| 平果县| 涪陵区| 江门市| 金阳县| 商丘市| 柘城县| 拜泉县| 广平县| 丁青县| 习水县| 建始县| 武汉市| 凤台县| 新和县| 米林县| 庆云县| 阿城市| 沙雅县| 正镶白旗| 西安市| 枞阳县| 湘乡市| 安宁市| 阳高县| 洱源县| 准格尔旗| 雅安市| 侯马市| 辽宁省| 奉贤区| 九江市| 封丘县| 中牟县| 德化县| 宝兴县| 东兰县| 吴旗县| 时尚|