5) Launching R Studio

This Blog entry is from the Getting Started in R section in Learn R.

RStudio is distinct from R Core and conceptually it should be viewed that RStudio overlays RCore (although they are independent installations of R in actually).  To launch RStudio, navigate to and click the Start button, then navigate to All Programs:

navigating-to-r-core-from-the-windows-start.png

Expanding All Programs, navigate to the RStudio folder:

navigating-to-rstudio-from-windows-start.png

Click on the application RStudio to launch:

rstudio-after-loaded-first-time.png

For all Blog entries that follow, using RStudio, a script active, console passive approach will be taken. 

To create a new script, that will be the target for all R Console interactions, click the New Script button in the top left-hand corner of RStudio, under File:

the-icon-to-add-a-new-script-to-rstudio.png

In the sub menu, click the first option titled ‘R Script’:

the-drop-down-to-add-a-new-script-to-rstudio.png

A new, empty, script will be loaded:

a-blank-script-in-rstudio.png

A script will be the focus of all attention, and a user will be active in the script window only, leaving the console alone.  No command is ever entered directly into the console.