Skip to Content
0
Aug 14, 2023 at 02:34 AM

R Input paramters setString API isn't supported in optimized mode.

62 Views

I’m trying to use scripting to change a variable inside a R script. I'm getting the following message in the console

R Input paramters API setString isn't supported in optimized mode

when I run the code

RVisualization_4.getInputParameters().setString("start_year","2021");

The Optimized Story Experience API Reference Guide contains these functions so I would assume they are supported in the optimised story.

Is there something I'm doing wrong or is it not supported. if it is not supported is there any alternatives to provide a similar functionality.