Qlik Community

Qlik Sense Enterprise Documents & Videos

Documents & videos about Qlik Sense.

BARC’s The BI Survey 19 makes it official. BI users love Qlik. GET REPORT

Qlik Sense and R Script

New Contributor II

Qlik Sense and R Script

I'm testing different ways to connect Qlik Sense and R. This sample application runs an R script by a call to a batch file. Relative paths and a change to the default security settings in Qlik Sense are used in the sample file, but it can be configured without the relative paths.

The data used in the application is the Iris data set. Information about this data set is located here R: Edgar Anderson's Iris Data.

The R script loads the iris data set from iris.csv. The data is split into training, testing and validation sets. A random forest model is used to predict the species from the data. The predictions of the validation set are appended to the validation data set. It is then exported to a new csv which is picked up by Qlik Sense.

The sample application can be downloaded at GitHub - kristywedel/IrisQlikSense: Qlik Sense R Example with Iris Data.


Please let me know if you have any feedback or ideas integrating Qlik Sense and R.

Tags (2)
Version history
Revision #:
1 of 1
Last update:
‎2017-01-10 05:21 PM
Updated by: