[R] plots from batchfile on windows

Hans-Peter gchappi at gmail.com
Fri Jun 3 16:50:49 CEST 2005


On 6/3/05, Gabor Grothendieck <ggrothendieck at gmail.com> wrote:
> This was discussed previously this week.  Look right at the end of:
> https://www.stat.math.ethz.ch/pipermail/r-help/2005-June/071147.html

I had to add a "win.graph..." command, now it works:

    x <- 1:10;
    y <- sample( 10 )
    win.graph(width = 7, height = 7, pointsize = 12)
    plot( x, y )
    savePlot( filename = "test", type = "png" )

Great, thanks a lot for the tipp!

Hans-Peter



-- 
Regards,
Hans-Peter




More information about the R-help mailing list