Professional Documents
Culture Documents
With
Qlik Sense Feb 2018
Table of Contents:
1. Introduction: .................................................................................................. 3
2. Integration of R: ............................................................................................ 3
2.1 Download the Example qvf files and extension objects: ................. 3
Pre-requisites are that you need to have Qlik Sense Feb 2018 version
installed.
2. Integration of R:
Select “English”
Click Next
Click Next
Select 64-bit User installation from the selection menu (Deselect the 32-bit
Files)
Click Next
Click Next
Click Next
Click Finish
2.3 Install R Serve:
Type: install.packages(“Rserve”,lib=”C:\\R\\R-3.4.4\\library”)
Select default mirror by clicking “Ok”
Alternatively, if you wish to see the output from the connection and use
for debugging of Qlik apps, then run rserve_d.exe
2.6.1 For Qlik Sense Server – Register the “Analytic Connections in QMC
Open QMC and click on “Analytic Connections”
Create New
Add the connection with
Name :”R”
Host: “localhost”
Port: 50051
Leave other fields with default values and click “Apply”.
2.6.2 For Qlik Sense Desktop - Create/Edit settings.ini file
Create/Edit the file “Settings.ini” in the following folder:
C:\Users\<userid>\Documents\Qlik\Sense\
Add the following lines:
SSEPlugin=R, localhost:50051
Ensure there is a blank line at the end of the file.
Now you can see that some sheets may be faded out in color or not
available.
Now you can see that some sheets may be faded out in color or not
available.
To Run the Qlik Sense R-Plugin as a windows service you can use the
following link.
Use the link and follow the procedures to start the SSEtoRserve.exe.
https://community.qlik.com/blogs/qlikviewdesignblog/2017/07/07/automatic
ally-start-the-r-plugin
We need to download and use NSSM which will help us run the Qlik
Sense R-plugin as a windows service.
Download and unzip the NSSM from https://nssm.cc/download
Open a command prompt with admin privileges and change the
directory to <path-to-nssm>\nssm-2.24\win64.
3.2.1 Services 1:
3.2.2 Services 2:
Now that the two services are installed, we can set the Qlik Sense Engine
Service to depend on them, so that any time the Qlik Sense Engine Service
starts, these services will be available.
Open the Air Passengers demo app that we have imported through
QMC or copied into apps for the Qlik sense Desktop.
You can see that now the chart is not faded out.
In the measures you can see the usage of RScripts.
Now we can see the Qlik sense app is successfully able to call out to
R, Objects containing expressions that call out to R are also correctly
displayed.
*****************************************************************************