Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Sara
Partner - Contributor II
Partner - Contributor II

R and Qlik Sense Integration

Hi, I want to create a table in the data loading script with data resulting from an R script.

iris1.PNG

This is a simple example and I get the subsequent error.

iris2.PNG

What is the problem?

Thanks.

Sara

Labels (2)
1 Solution

Accepted Solutions
Sara
Partner - Contributor II
Partner - Contributor II
Author

Hi, I solved the problem deleting the newline ad the end of the R code line. 

Thank you.

Sara

View solution in original post

3 Replies
rodjager
Partner - Creator
Partner - Creator

Hi Sara,

I compared your syntax to a similar example I have and I think the issue is with the semicolons (;) at the end of the first and second lines in the R.ScriptEval call.

Hope this helps?

Kind regards,

Rod

Sara
Partner - Contributor II
Partner - Contributor II
Author

Hi, I solved the problem deleting the newline ad the end of the R code line. 

Thank you.

Sara

Giuseppe_Novello
Former Employee
Former Employee

Thank you for your reply, since you found a solution, could you please mark this post solved?

BR

 

Gio

Giuseppe Novello
Principal Technical Support Engineer @ Qlik