Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I am trying to call my R script in Qlik Dataload editor. I have installed the R Plugin and I am able to run the R examples provided.
But since I am very new to R. I found this script online but cannot get it work.
**************************************************
Set vRSource = 'C:/PROJEKTE/R/Forecast/';
FACT:LOAD*,'$(vRsource)' as RSourceFROM [lib://FORECAST/Forecast/GP Orders - 5.csv](txt, utf8, embedded labels, delimiter is ',', msq);
Forecasts:NoConcatenate Load *Extension R.ScriptEval ('Source(paste0(unique(q$RSource)[1],"Test_R.R"))forecast_attendances(q)' , FACT);
The Error says: "
"
I assume there will also be problem with the part "forecast_attendances". Could someone please explain these 2 R script lines?
Many thanks!
Lan