Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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
Employee
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
Employee
Employee

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