[R] Runnning R remotely

Laura Quinn laura at env.leeds.ac.uk
Wed Feb 2 18:25:59 CET 2005


Aha, of course!

Thanks for your help - 10 minutes down to 5 seconds, superb.

Laura

Laura Quinn
Institute of Atmospheric Science
School of Earth and Environment
University of Leeds
Leeds
LS2 9JT

tel: +44 113 343 1596
fax: +44 113 343 6716
mail: laura at env.leeds.ac.uk

On Wed, 2 Feb 2005, Jean Eid wrote:

> look intp ?postscript. these is nothingin your code below that you cannot
> do in postscript.
>
>
> to convert the images you can use convert (this is ImageMagick)
> on your machine. On my debian machine it was preinstalled if not apt-get
> imagemagick should do it. After this you can use convert blbla.eps
> blabla.gif
>
>
> Jean
>
> On Wed, 2 Feb 2005, Laura Quinn wrote:
>
> > I wasn't aware that it was possible to use postscript in the same fashion
> > as png, eg:
> >
> > png(file,width=x,height=y,)
> > image(map)
> > text(text)
> > title(title)
> > box()
> > dev.off()
> >
> > As there are a large number of iterations png has been working nicely
> > (when not working remotely!), especially as it has proven easy to convery
> > into gifs and then into movie gifs. Could anyone suggest an alternative
> > approach in this case?
> >
> > TIA,
> > Laura
> >
> > Laura Quinn
> > Institute of Atmospheric Science
> > School of Earth and Environment
> > University of Leeds
> > Leeds
> > LS2 9JT
> >
> > tel: +44 113 343 1596
> > fax: +44 113 343 6716
> > mail: laura at env.leeds.ac.uk
> >
> > On Wed, 2 Feb 2005, Jean Eid wrote:
> >
> > > Why do you use png? I think that yu need X11 to save a png file. why not
> > > use a postscript?
> > >
> > >
> > > This is what ?png says
> > >
> > >
> > > "R can be compiled without support for either or both of these devices:
> > > this will be reported if you attempt to use them on a system where they
> > > are not supported. They will not be available if R has been started with
> > > --gui=none (and will give a different error message), and they may not be
> > > usable unless the X11 display is available to the owner of the R process."
> > >
> > >
> > > In addition I think the only thing slowing the machine is png.
> > >
> > >
> > > Jean
> > >
> > > On Wed, 2 Feb 2005, Laura Quinn wrote:
> > >
> > > > Hi,
> > > >
> > > > I was wondering if anyone might be able to help. I am trying to run R on a
> > > > remote machine, part of the model run I am attempting writes an external
> > > > file output as a png (about 48 iterations per model run). I am running R
> > > > 1.9.1 on SuSe9.0, and am accessing this via ssh from a Debian machine.
> > > >
> > > > Initially I used the command ssh -X IP.address and whilst I was able to
> > > > run the model successfully the model run was extremely slow (which I could
> > > > not understand as the output was being written to the remote machine), but
> > > > tried to log in again, this time without the X windows facility and found
> > > > that I couldn't run the model:
> > > >
> > > > Error in X11(paste("png::", filename, sep = ""), width, height, pointsize,
> > > > :
> > > >         unable to start device PNG
> > > > In addition: Warning message:
> > > > unable to open connection to X11 display`'
> > > >
> > > > Could somebody please advise a way around this?
> > > >
> > > > Thanks in advance,
> > > > Laura
> > > >
> > > > Laura Quinn
> > > > Institute of Atmospheric Science
> > > > School of Earth and Environment
> > > > University of Leeds
> > > > Leeds
> > > > LS2 9JT
> > > >
> > > > tel: +44 113 343 1596
> > > > fax: +44 113 343 6716
> > > > mail: laura at env.leeds.ac.uk
> > > >
> > > > ______________________________________________
> > > > R-help at stat.math.ethz.ch mailing list
> > > > https://stat.ethz.ch/mailman/listinfo/r-help
> > > > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> > > >
> > >
> > >
> >
> >
>
>




More information about the R-help mailing list