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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Update a Variable using R

I have a variable vTemp that i would like to update during the execution of an R script. Something like this:

=R.ScriptAggrStr( 'd<-as.data.frame(cbind(q$ph,q$ind));  q$vTemp<-SOME_VALUES ;  print(as.character(d[,2]))',
[INDICATION] as ind,
[PHASE] as ph,
vTemp)

What I like to obtain is that at the end of the execution SOME_VALUES will be stored in the variable vTemp. Is this possible?

Best Regards

Labels (1)
1 Solution

Accepted Solutions
Steven_Pressland
Former Employee
Former Employee

You can do this but would need a client side extension to perform the setting of a variable from the answer.

View solution in original post

1 Reply
Steven_Pressland
Former Employee
Former Employee

You can do this but would need a client side extension to perform the setting of a variable from the answer.