Qlik Community

Qlik Server Side Extensions Discussions

Discussion Board for collaboration on Server-Side Extensions and Advanced Analytics Integration.

Announcements
Announcement: We have made updates to resolve a Page Not Found error. If you still get this error, please let us know in the Community Corner.
Highlighted
rbrtdambrosio
New Contributor

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

Tags (3)
1 Solution

Accepted Solutions
Employee
Employee

Re: Update a Variable using R

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

1 Reply
Employee
Employee

Re: Update a Variable using R

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