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

R and RStudio installation

Let's first start with installing R. It is totally free and can be downloaded from https://cloud.r-project.org/Installing R is an easy task. 

Let's look at the steps to install R on a Windows PC. For installing it on other operating systems, the steps are straightforward and are available at the same https://cloud.r-project.org/ link.

Let's start by installing R on a Windows system:

  1. Visit https://cloud.r-project.org/.
  2. Look for Download and Install R and select your operating system. We are installing for Windows, so select the Windows link.
  3. Go to Subdirectories and click on base.
  4. You will be redirected to a page that shows download R X.X.X for Windows. At the time of writing this book, Download R 3.5.2 for Windows is the version that you need to click on.
  5. Save and run the .exe file.
  6. You can now select the setup language to install R.
  7. A setup wizard will open and you can go on clicking Next until you reach Select Destination Location.
  8. Select your preferred location and click Next.
  9. Click the Next button several more times until R starts to install.
  10. After the installation is complete, R will notify you with the message Completing the R for Windows 3.5.2 Setup Wizard. You can now click on Finish.
  11. You can find the R shortcut on your desktop and double-click on it to start R.
  12. Like any other application, in case you can't find R on your desktop, you can go to the Start button, All Programs, and look for R and start it.
  13. You will get a screen similar to what's shown in the following screenshot:

This is the R Command Prompt, waiting for input.

主站蜘蛛池模板: 龙口市| 宁晋县| 宁德市| 商丘市| 全南县| 富宁县| 永川市| 金寨县| 陇西县| 沁源县| 桑植县| 香格里拉县| 卫辉市| 长宁区| 胶州市| 文昌市| 绵竹市| 改则县| 布尔津县| 临桂县| 筠连县| 定南县| 宿松县| 福州市| 龙口市| 安吉县| 冷水江市| 连山| 成安县| 连山| 兰考县| 新余市| 和静县| 枞阳县| 阳西县| 平阳县| 万荣县| 务川| 泰兴市| 澄迈县| 烟台市|