Chapter 2

Exploring R

In This Chapter

arrow Looking at your R editing options

arrow Starting R

arrow Writing your first R script

arrow Finding your way around the R workspace

In order to start working in R, you need to use an editing tool. Which editing tool you use depends to some extent on your operating system, because R doesn’t provide a single graphical editor for all operating systems. The basic R install gives you the following:

check.png Windows: A basic editor called RGui.

check.png Mac OS X: A basic R editor called R.app.

check.png Linux: There is no specific R editor on Linux, but you can use any editor (like Vim or Emacs) to edit your R code.

At a practical level, this difference between operating systems doesn’t matter very much because R is a programming language, and you can be sure that R interprets your code identically ...

Get R For Dummies, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.