Introduction to R - 1st lesson (introduction)

Nathalie Villa-Vialaneix -
September 14-16th, 2015

Master TIDE, Université Paris 1


Basic presentation of 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 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

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


    in a terminal and the program starts with no GUI


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