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

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.

主站蜘蛛池模板: 都江堰市| 云龙县| 集安市| 岳阳县| 专栏| 石门县| 田东县| 永康市| 乌拉特后旗| 治县。| 肇州县| 大城县| 和平县| 定远县| 长寿区| 大名县| 溧水县| 册亨县| 张北县| 常宁市| 楚雄市| 青海省| 克拉玛依市| 嵊泗县| 翁源县| 陆川县| 随州市| 江阴市| 河西区| 阜康市| 巩留县| 蕉岭县| 萝北县| 景宁| 荔波县| 舞阳县| 沧州市| 云阳县| 太仆寺旗| 南京市| 岐山县|