Читать книгу Probability with R - Jane M. Horgan - Страница 35

1.12.1 RStudio

Оглавление

RStudio is the most well known of the code editors currently available to interface with R. Written in C++, Version 1 was released in 2016, and since then many updates and revisions have been made. Like R, it is open source, and, after you have installed R, it can be downloaded from the RStudio website at http://www.rstudio.org by proceeding as follows:

 Click “Download RStudio”;

 Choose the Desktop version;

 Select the setup program suitable to your operating system;

 Press the option “Run”.

RStudio is now installed, and you should see an icon on your screen. Clicking on this will start up and launch the RStudio interface. A screen divided into four windows will appear, each window representing a set of integrated tools designed to help you to be more productive in R.

 The top left quadrant is the Editor Window.

 The lower left quadrant is the Command Window where you write and execute commands after the prompt “>” similar to what you do in the main R. This is where you will first work, and when it is correct, copy it into the Editor Window.

 The top right quadrant is the Workspace and History Window. This keeps a record of the commands you have used.

 The lower right quadrant is referred to as the File/Plots/Packages Window. Here, you can open files, view plots and load packages. This window also contains the help function.

To see for yourselves, click on the RStudio icon. Similar to R, RStudio can be run on a desktop using Windows, (Mac) OS X, and Linux or in a browser connected to RStudio.

Probability with R

Подняться наверх