Loading...
 
Tiki and PluginR

Tiki and PluginR


Re: Jyhem coding RR plugin settings variables directly from within RR

posts: 68 France

Thanks Xavi.

What I would like to do in fact, is to put settings in the R script, not in the plugin configuration. Actually, this needs more logic :
- Have a kind of prescript #//Config #//!Config
- RR launches this prescript
- The prescript outputs some values
- Those values are taken by php to run the script

So R calculates from the data the height of the picture then runs the final part of the script with the calculated height.

Just that thinking about it now, it looks a bit overkill. ggsave might be the option to go, I'll see if there is not caching problem.

There are no comments at this time.