Loading...
 
Tiki and PluginR

Tiki and PluginR


Choosing the size of the RR plugin picture output

posts: 68 France

Hello, me again with a simple question :

- How to define the size of the picture output?

... As I'm heavily using faceting, I'm a bit stuck with this issue...

https://wikispiral.org/tiki-index.php?page=SPIRAL+stats+image+size+PB

{RR(width="1200")}
Does strictly nothing

Nor does work : png("output.png",width=1200)

In Rstudio all I have to do is to zoom... But in the RR plugin I can't figure out what does not work...

posts: 1817 Catalan Countries

Hi Joël:

I've tested in a local new installation with plugin RR 0.80 and that param width works as expected for me.

Could it be a ache issue: you get your image rebuilt with the new width, but you are still viewing the old one in your browser for some reason???

That's the simple syntax I used (taken from profile r_test)

{CODE(ln="1")}
{RR(width="800", echo="1")}
x


posts: 68 France

Yup Using a cache clean and a CTRL+R fixed the problem, thanks!
However I'm still stuck with a aspect ratiom problem : It seems that it doesn't adapt the height to keep the ratio... Or should I set a ratio in R ggplot ?