Aleix Ruiz de Villa Robert, RugBcn / TSS - Transport Simulation Systems
2014/03/05
install.packages("ggplot2"), require(ggplot2)
.data.table
package.ggplot2, reshape, plyr, lubridate, stringr
(from Hadley Wickham)matrix
.base
plots example: Plots.Rggplot2
package: nice plots in R, by Hadley Wickham. Example: GGPlot2.RRCpp
(currently very active and well integrated in RStudio).rJava
.RPy
or PypeR
. The other way round with rPython
.multicore
(works in anything but Windows).snow
: opens several hidden R sessions and initializes each one with the required data. Wrapper package snowfall
.data.table
(instead than dataframe
).compiler
.Rcpp
.ff
package, bigmemory project.RODBC, RMySQL, ROracle,
RPostgreSQL
, … packages (among others).Latex
was traditionally integrated with Sweave
. Currently with knitr
. Example: Latex.RThe gaussian distribution has density function \[ f(x) = \frac{1}{\sqrt{2 \pi}}e^{-x^2/2} \] An example of the empirical distribution is
x = rnorm(1000)
hist(x)