Predictive Analysis in Applicare
Dependency 'R'
Install R in Windows
1. Go to Link -> "https://cran.revolutionanalytics.com/" and select "Download R for Windows"

2. Select "install R for the first time".

3. Select Download R 3.6.1 for Windows.

4. Install R.








5. Go the <R_Home_Path>\library folder and enable the read and write permissions to that folder for all application packages.
For Example:
<R_Home_Path> = "C:\Program Files\R\R-3.6.1"




6. Open R and install the needed packages. It will download the needed packages in the login user "AppData\Local\Temp" directory and extract the data to its library folder. So the R should have write permission to that folder. These folders will be in hidden state by default. Enable the view hidden files option to view these folder.
Go to <R_Home_Path\bin> and double click the "R".

Command: install.packages('Runiversal', dependencies = TRUE)



Command: install.packages('forecast', dependencies = TRUE)





Add the below JVM Argument in Applicare server catalina.bat file and start the server.
Syntax:
-Dapplicare.rHomePathDir=<R_Home_Dir>\bin\Rscript.exe
For example <R_Home_Dir> is "C:\Program Files\R\R-3.6.1" the above jvm argument will be the below one. Program Files will become PROGRA~1
-Dapplicare.rHomePathDir=C:\PROGRA~1\R\R-3.6.1\bin\Rscript.exe

Applicare console

Please sign in to leave a comment.
Comments
0 comments