Qlik Community

Qlik Server Side Extensions Discussions

Discussion Board for collaboration on Server-Side Extensions and Advanced Analytics Integration.

Highlighted
elisepupier
New Contributor II

[R on Qlik] Why can't Rserve run ?

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 !

Tags (2)
3 Replies
MVP
MVP

Re: [R on Qlik] Why can't Rserve run ?

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

elisepupier
New Contributor II

Re: [R on Qlik] Why can't Rserve run ?

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.

elisepupier
New Contributor II

Re: [R on Qlik] Why can't Rserve run ?

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)