Difference between revisions of "R and R Studio"

From WSU Technology Knowledge Base
Jump to: navigation, search
(PC)
(PC)
Line 11: Line 11:
 
Under '''Latest release''', select the link to the latest release package (.pkg) file. Save the file to your Mac and then select it to begin the installation process. Follow the on-screen instructions to install the application as usual. Once installed, you can delete the .pkg installer file.
 
Under '''Latest release''', select the link to the latest release package (.pkg) file. Save the file to your Mac and then select it to begin the installation process. Follow the on-screen instructions to install the application as usual. Once installed, you can delete the .pkg installer file.
 
===PC===
 
===PC===
In the description of the '''base''' subdirectory, select the '''Install R for the first time''' link. Select the '''Download R [latest version number] for Windows''' link to begin downloading the .exe file. Save the file on your PC and then double-click it to begin the installation process. Follow the on-screen instructions to install the application as usual.
+
In the description of the '''base''' subdirectory, select the '''Install R for the first time''' link. Select the '''Download R [latest version number] for Windows''' link to begin downloading the .exe file. Save the file on your PC and then select it to begin the installation process. Follow the on-screen instructions to install the application as usual.
  
 
==Why R Studio?==
 
==Why R Studio?==

Revision as of 08:33, 23 May 2020

Caution.JPG REVISION IN PROGRESS: This article contains useful information, but is being revised to reflect recent updates. Direct questions to TLT (tlt@winona.edu).

R and R Studio are free software applications for statistical computing and graphics. R includes the code required to conduct statistical analyses and visualize data. R Studio is a companion application, called an integrated development environment (IDE), that makes it easier to use R. Both run on Windows and MacOS.

Install R

  1. Browse to https://www.r-project.org
  2. Under Getting Started, select Download R (Fig 1)
  3. Select the link under 0-Cloud to download R from the server nearest you
  4. Under Download and Install R, select either the Mac or Windows version of R to begin downloading the installer file. What happens next will differ slightly depending on whether you are installing R on a Mac or PC.

Mac

Under Latest release, select the link to the latest release package (.pkg) file. Save the file to your Mac and then select it to begin the installation process. Follow the on-screen instructions to install the application as usual. Once installed, you can delete the .pkg installer file.

PC

In the description of the base subdirectory, select the Install R for the first time link. Select the Download R [latest version number] for Windows link to begin downloading the .exe file. Save the file on your PC and then select it to begin the installation process. Follow the on-screen instructions to install the application as usual.

Why R Studio?

Although you can use R directly, R Studio organizes and streamlines many R features and functions, reducing your workload and making it easier to navigate and manage R projects. R Studio is currently the most common IDE for R.

Install R Studio

  1. Browse to https://rstudio.com
  2. Select RStudio from the Products menu
  3. Select RStudio Desktop
  4. Under Open Source Edition, select Download RStudio Desktop
  5. Select Download under the RStudio Desktop Open Source License Free version. What happens next will differ slightly depending on whether you are installing R on a Mac or PC.

Mac

Select Download R Studio for Mac to begin downloading the .dmg installer file. Save the file to your Mac and then select it to begin the installation process. Drag the RStudio icon to your Applications folder when prompted. Once installed, you can drag the installer file to the trash.

PC