Loading...
 
Tiki and PluginR

Tiki and PluginR


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

posts: 68 France

We are thinking now to have a "custom PNG output" option, leaving the R script to do the output (as ggsave or other outputs could be used than just png). Just beforehand, we will inject in the R script a RRname variable, that the user needs to use in the R script in order to name the output file.

To make correspond this :

VariablePageNAme (in R)
"' . $rgo . "_$image_number.png" (in RR php)


In order to inject in the beginning of the Rscript :

  1. PHP injects this before the starting of the script

tikiRRfilename = Variable.defined.in.RR.plugin.by.php.and.injected.in.the script

(...R script...)

ggsave(filename=tikiRRfilename, plot=plot, width=calc.width, height=calc.height, scale=v=calc.scale, units="cm")

There are no comments at this time.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting