R

Mac

Download R-x.x.x.pkg and install it.

You may need to install libxml2 with Homebrew:

brew install libxml2

Linux

You may need install some system libraries for our R packages. Here we only take Ubuntu as example.

Curl:

sudo apt-get install curl libcurl4-openssl-dev

XML:

sudo apt-get install libxml2-dev

RStudio

Download and install RStudio desktop.

Packages

Open R console and execute following code:

install.packages("data.table", type = "source",
                 repos = "https://Rdatatable.github.io/data.table")
pkgs = c("httr", "rvest", "DT", "rmarkdown", "XML", "whisker", "googleVis", 
         "leaflet", "jsonlite", "magrittr", "RSQLite", "knitr", "stringr", 
         "lubridate", "rbenchmark")
install.packages(pkgs)