-
Notifications
You must be signed in to change notification settings - Fork 31
volt42 edited this page Nov 5, 2013
·
3 revisions
The backend system uses R for statistical computations, such as time series forecasting (a.k.a predictions). It can be used through calls to the API, and uses an internal interface to feed commands from Erlang to R and get back results. In order to compile the project, two of three parts are necessary, and in order to run time series forecasting, an extra step is required.
#R (required) Installing R can be done in two ways, either manually, separate from the rest of the system, or through our included installation script. Both versions require you to manually set an environment variable when the installation is finished.
Using a terminal, you enter the following commands:
sudo add-apt-repository "deb http://ftp.sunet.se/pub/lang/CRAN/bin/linux/ubuntu precise/"
sudo apt-get update
sudo apt-get install r-base