I would like to build a button that when pressed by the user will call an action like:
R.ScriptAggrStr(some R code here)
to update the value of a Qlik variable.
This would be possible, but most of the work would be standard extension building. You can then create a custom hypercube to do the calc and return the value to a variable in the extension.
Retrieving data ...