Source: http://iml.univ-mrs.fr/~reboul/R-cours3.pdf