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! _________________________________________________________________ ?????????????????????????????? MSN Hotmail?? http://www.hotmail.com
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
On your Windows machine you need to run (1) an X server and (2) an ssh client. Xming and putty, respectively, are among the free ones. First start Xming (you can configure it using XLaunch, which is included with Xming, or you can run Xming from the Windows command line specifying the configuration parameters via command line flags). Then run putty. Be sure you have X11 forwarding enabled in putty's Connection | SSH | Tunnel screen. Googling will locate much info for these programs. On 7/1/07, zhihua li <lzhtom at hotmail.com> 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! > > _________________________________________________________________ > ?????????????????????????????? MSN Hotmail?? http://www.hotmail.com > > > ______________________________________________ > 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 > and provide commented, minimal, self-contained, reproducible code. > >
Reasonably Related Threads
- Error: evaluation nested too deeply when doing heatmap with binary distfunction
- An R clause to bind dataframes under certain contions
- locate the rows in a dataframe with some criteria
- Comparison of aggregate in R and group by in mysql
- memory error with 64-bit R in linux