Difference between revisions of "R and R Studio"

From WSU Technology Knowledge Base
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
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 to download the Windows installer 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. Note that staff members with Avecto installed on their WSU computers will need to launch the installer file in '''elevated mode'''.
  
 
==Why R Studio?==
 
==Why R Studio?==
Line 22: Line 22:
 
#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.
 
#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===
 
===Mac===
#Select Download R Studio for 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===
 
===PC===
 +
Select '''Download R Studio for Windows''' to begin downloading the .exe installer file. Save the file to your PC and select it to begin the installation. Follow the on-screen instructions to install the application as usual. Note that staff members with Avecto installed on their WSU computers will need to launch the installer file in '''elevated mode'''.

Latest revision as of 14:40, 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. Note that staff members with Avecto installed on their WSU computers will need to launch the installer file in elevated mode.

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

Select Download R Studio for Windows to begin downloading the .exe installer file. Save the file to your PC and select it to begin the installation. Follow the on-screen instructions to install the application as usual. Note that staff members with Avecto installed on their WSU computers will need to launch the installer file in elevated mode.