Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I want to use R on Qlik, and I began by following this process : https://community.qlik.com/servlet/JiveServlet/previewBody/18785-102-1-25264/Installing%20R%20with%2...
I installed R (with the specific install path, but R-3.4.4), and Qlik (September 2018 version).
Then I followed the different steps, until the 6th.
There, when I run Rserve.exe, I get an error : "Fatal error: unable to open the base package".
I didn't find where does it come from.
> Is it a problem of R or Qlik version ?
> Or is there someting else to take care of ?
Thank you very much for your advice !
Google'ing the error message you got reveals that this must be an R error. It's when Rserve is starting up and Rserve should be running in the background at all times when accessing it from Qlik Sense. It is not Qlik Sense that loads the Rserve itself it is a prerequisite that it's already running...
Yes, I've seen that too, but I didn't find the answer on stackoverflow or such websites, and I thought that someone else here would have met the same problem.
About the "base" package of R, I checked that it was well installed.
Hello,
I finally found the answer :
> creating an environment variable
> calling it R_HOME
> value : the path to R (C:\R\R-3.4.4)
Hello, Can you please tell how you created the environment variable?
I tried the code:
> R_HOME = C:\R\R-3.6.1\bin;
Error: unexpected input in "R_HOME = C:\"
> set R_HOME = C:\R\R-3.6.1\bin;
Error: unexpected symbol in "set R_HOME"
> set env R_HOME C:\R\R-3.6.1\bin
Error: unexpected symbol in "set env"
Search in windows 'variable'
system variable
edit path, set the new entries between ';'
open a cmd window and type R , then enter, watch result. If an error pops up, the path is not set correctly