Chapter 2
Exploring R
In This Chapter
Looking at your R editing options
Starting R
Writing your first R script
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:
Windows: A basic editor called RGui.
Mac OS X: A basic R editor called R.app.
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access