Integrating R with MicroStrategy
R is an open source programming language and software environment for statistical analysis and graphics. MicroStrategy can use R to do the predictive model estimations. By using R Integration Pack, MicroStrategy can get the inputs, pass them to R, get the computation results back from R, and then pass those to predictive metrics.
In MicroStrategy version 10, we need the following steps to integrate R:
Install MicroStrategy.
Install R from https://www.r-project.org/.
Install R Script functions from https://rintegrationpack.codeplex.com/.
Installing R
Use the following commands to install R on Red Hat Enterprise Linux 6.6:
wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum localinstall epel-release-6-8.noarch.rpm
yum install R
If there are dependency issues, you will find an error message similar to this:
--> Finished Dependency Resolution Error: Package: R-core-devel-3.1.1-3.el6.x86_64 (epel) ...