Cover by Joseph Adler

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

The R Graphical User Interface

Let’s get started by launching R and taking a look at R’s graphical user interface on different platforms. When you open the R application on Windows or Max OS X, you’ll see a command window and some menu bars. On most Linux systems, R will simply start on the command line.

Windows

By default, R is installed into %ProgramFiles%R (which is usually C:\Program Files\R) and installed into the Start menu under the group R. When you launch R in Windows, you’ll see something like the user interface shown in Figure 2-1.[3] Inside the R GUI window, there is a menu bar, a toolbar, and the R console.

R user interface on Windows XP

Figure 2-1. R user interface on Windows XP

Mac OS X

The default R installer will add an application called R to your Applications folder that you can run like any other application on your Mac. When you launch the R application on Mac OS X systems, you’ll see something like the screen shown in Figure 2-2. Like the Windows system, there is a menu bar, a toolbar with common functions, and an R console window.

R user interface on Mac OS X

Figure 2-2. R user interface on Mac OS X

On a Mac OS system, you can also run R from the terminal without using the GUI. To do this, first open a terminal window. (The terminal program is located in the Utilities folder inside the Applications folder.) Then enter the command ...

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required