[R] working with R graphics remotely

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Jul 2 13:18:44 CEST 2007


On Mon, 2 Jul 2007, Jan Wijffels wrote:

> ?pdf
> ?jpeg
> and load the files back to your windows machine unless you need to work
> interactively through X11

But they don't work under Linux unless you have an X server to access, and 
a remote Windows user is very unlikely to.

Please see the help page of the devices you recommended, which did warn 
about this.

>
> -----Original Message-----
> From: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk]
> Sent: maandag 2 juli 2007 7:56
> To: zhihua li
> Cc: r-help at stat.math.ethz.ch
> Subject: Re: [R] working with R graphics remotely
>
> You need to forward the X11 window to your local machine, which would
> need
> to be running an X server.  We do this using Exceed and PUTTY settings,
> but your sysadmins will be able to help you: it is not a question about
> R
> per se.
>
> On Mon, 2 Jul 2007, zhihua li wrote:
>
>> Hi netters,
>>
>> Now I'm connecting from my local windows machine to a remote linux
> machine
>> and launch R out there using SSH. When I tried to create grahics, like
> using
>> plot or heatmap, I cannot see the output. Maybe a new R window
> displaying the
>> graphics has popped out in the remote machine? Or I need to change
> some
>> settings for the graphics to display? I don't know. I googled it and
> tried
>> dev.copy but it didn't work. Can anyone help me here? I need to be
> able to
>> see the output graphics and save it to a file (like jpeg)
>>
>> Thanks a lot!
>
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list