Qlik Community

Ask a Question

Integration, Extension & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Announcements
Support Case Portal will move to Qlik Community Oct 4. Temporary case outage Oct 3. READ DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
PoojaPrasad
Creator II
Creator II

How to enable R integration on Qlik Sense Enterprise with several nodes

Hello Experts,

We are trying to integrate R with Qlik Sense Enterprise having several nodes. We have installed R, Rserve, and SSEtoRserve on a separate server. Rserve and SSEtoRserve is running on that server. Our objective is to install R, Rserve and SSEtoRserve and keep them up and running on  one server and access that server by giving its name rather than localhost while adding 'Analytics Connection' on Qlik QMC. 

After the installation, when I am trying to check the decision tree app and other apps provided on https://github.com/qlik-oss/sse-r-plugin, I do not see any of them working. Please note I have imported both extensions given in the link on the Qlik.

I am wondering if we can achieve integrating R with Qlik Sense Enterprise with several nodes by redirecting them to a server with R, Rserve and SSEtoRserve up and running. If not, what could be the right way to integrate them with R.

 

1 Solution

Accepted Solutions
rva_heldendaten
Partner
Partner

Have you sest "grpcHost" to 0.0.0.0 to make the SSEPlugin reachable from the outside world? 

 

r_outsideworld.png

View solution in original post

5 Replies
rva_heldendaten
Partner
Partner

in the SSEtoRserve.exe.config you can define where your R Server is running. Default is 127.0.0.1  Port 6311(localhost)

r_server_location.png

So for multinode environments you have two deployment options:

 

- Install the SSEtoRserve Plugin on every Engine-Node. Change the SSEtoRserve.exe.config so they all point to the remote RServer

 

 

- Install the SSEtoRServe on the same Server as the RServer. Then you can keep the Default SSEtoRserve.exe.config.  Instead you change the Analytic Connection in the Qlik Sense QMC from http://localhost:50051 to http://yourRServer:50051

 

Best regards,

Roland

 

 

 

PoojaPrasad
Creator II
Creator II
Author

Hello Roland,

Thank you for your response.  We are trying to implement the second option you gave:

- Install the SSEtoRServe on the same Server as the RServer. Then you can keep the Default SSEtoRserve.exe.config.  Instead you change the Analytic Connection in the Qlik Sense QMC from http://localhost:50051 to http://yourRServer:50051

We have R, Rserve and SSEtoRServe on a virtual machine. Rserve and SSEtoRServe is running on that virtual machine server. We have given its name in the Analytics Connection in Qlik Sense QMC as shown below:

AnalyticConnection.PNG

We have also restarted the Qlik Engine service.

But we still dont see R packages working on the app, not even on the central node of the Enterprise. I was wondering how to confirm if Qlik Enterprise is even able to connect to the vm server.

Thank you for your help.

rva_heldendaten
Partner
Partner

Have you sest "grpcHost" to 0.0.0.0 to make the SSEPlugin reachable from the outside world? 

 

r_outsideworld.png

View solution in original post

rva_heldendaten
Partner
Partner

once you did that you can check if Telnet or PowerShell can reach the Service on port 50051

 

https://www.techtutsonline.com/powershell-alternative-telnet-command/

PoojaPrasad
Creator II
Creator II
Author

I set the "grpcHost" to 0.0.0.0 to make the SSEPlugin and its working for all the nodes. Thank you so much. 🙂