Introduction to R - 1st lesson (introduction)

Nathalie Villa-Vialaneix - http://www.nathalievilla.org
September 14-16th, 2015

Master TIDE, Université Paris 1

R

Basic presentation of R

R

  • what is R?
  • how to install R and additional packages?
  • how to start and use R and its packages?
  • find help with R

What is R?

  • R is a free statistical software
  • can be installed on Linux, Windows and Mac OS X
  • has a number of additional packages providing a wide number of functions for statistics and scientific programming

Install R

R can be downloaded at http://cran.univ-paris1.fr with different installation instructions depending on your OS

For Ubuntu user, R can be installed with the command line

sudo apt-get install r-base-core r-base-dev

(see also

http://tuxette.nathalievilla.org/?p=1380&lang=en

for a more up-to-date installation)

Start R

  • On Windows and Mac OS X, R is started by double clicking on its icon. A very basic GUI then opens up

  • On Linux/Unix, R is started using the command

    R
    

    in a terminal and the program starts with no GUI

RStudio

RStudio is a set of integrated tools designed to help you use R. It includes a GUI: