Predictive Analysis in Applicare

Community post

Shared by the Applicare community. It has not been re-checked against Applicare 10.0, so confirm the steps in your environment or contact Support.

Dependency 'R'

Install R in Windows**

1. Go to Link -> "https://cran.revolutionanalytics.com/" and select "Download R for Windows"

[Screenshot 1 is not available on this page.]

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

[Screenshot 2 is not available on this page.]

3. Select Download R 3.6.1 for Windows.

[Screenshot 3 is not available on this page.]

4. Install R.

[Screenshot 4 is not available on this page.]

[Screenshot 5 is not available on this page.]

[Screenshot 6 is not available on this page.]

[Screenshot 7 is not available on this page.]

[Screenshot 8 is not available on this page.]

[Screenshot 9 is not available on this page.]

[Screenshot 10 is not available on this page.]

[Screenshot 11 is not available on this page.]

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"

[Screenshot 12 is not available on this page.]

[Screenshot 13 is not available on this page.]

[Screenshot 14 is not available on this page.]

[Screenshot 15 is not available on this page.]

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".

[Screenshot 16 is not available on this page.]

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

[Screenshot 17 is not available on this page.]

[Screenshot 18 is not available on this page.]

[Screenshot 19 is not available on this page.]

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

[Screenshot 20 is not available on this page.]

[Screenshot 21 is not available on this page.]

[Screenshot 22 is not available on this page.]

[Screenshot 23 is not available on this page.]

[Screenshot 24 is not available on this page.]

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

[Screenshot 25 is not available on this page.]

Applicare console

[Screenshot 26 is not available on this page.]

Join the discussion

Comments, voting and following are kept by Zendesk and need a Help Center account. This button opens the original discussion there.

Opens Zendesk · needs internet and sign-in

Still stuck? Contact support