1) Navigate to and launch the R command line.

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

In this blog post a procedure is provided to explain the process of launching R from the command line. It is unusual to interact with R from the command line, but it serves to explain the concept of R being a command led interpreted language. In subsequent Blog entries, RStudio will be a wrapper around R and make for a much more enjoyable experience.

To launch the R Core Command Line software, start by launching the command prompt.  The quickest way to launch the command prompt is to click the Start button firstly:

navigate-to-r-core.png

Then in the run \ search bar type CMD,  which will suggest the appropriate application:

navigate-to-the-command-line.png

Click on, rather run, the application:

a-launched-command-prompt.png

It is unlikely that the Command Prompt will be in the correct directory to run R.  Switch to the C: drive, which is where all installed programs tend to reside, by typing:

change-drive-in-command-prompt.png

Press the Enter key to make the drive change:

changed-drive-in-command-prompt.png

To navigate to the directory containing the R command line type:

cd "C:\Program Files\R\R-3.3.2\bin"
navigate-to-r-in-command-prompt.png

Commit the drive by change pressing the Enter key:

navigate-to-r-bin-directory-in-command-prompt.png

To launch the R console application type:

R
launch-r-in-command-prompt.png

Invoke R Core by pressing the Enter key. Upon successful launch of the R Core Command Line Interface, introductory text will be displayed with a chevron (i.e >) denoting the command line input awaiting with a flashing cursor:

9.png