Each call from Qlik Sense to R is a separate session, so in the script that you pass on as an argument to R, you will need to load the library and all other relevant items needed for your calculation. All processing is done in R. You specify the R script to run and the one or more vectors this script needs as source data to do the processing. Qlik Sense then expects a vector of data points as a result of this evaluation with the same number of rows and in the same order.
Hope this helps.
I am new to Qlik, exploring options to integrate Qlik with R.
I would like to leverage power of Qlik for ETL and self serving/visualization and R to handle predictive modeling.
So, My quesitons: is it possible call/execute an R script from dataload editor with input as of the table that is loaded in data and read out output data frame in to datload editor and use it for visualization.