[R] slow graphics download

2008-10-20 Thread Paul Murtaugh

Hi,

I often work from home, running R on my office computer and displaying 
interactive graphics on my home computer using X11.  This was always 
more sluggish than sitting at my office computer, obviously, but 
recently the graphics transfer has become painfully slow -- so slow, 
that I now divert the images to a postscript file and display that file 
remotely (which takes a second or two).


I don't know what changed between the old days and now -- I may have 
installed a new version of R and updated the o.s. (ubuntu) on both 
computers, but am unsure of the timing.  I realize this makes 
troubleshooting difficult, but I am hoping someone can offer a tip on 
where to begin.


Thanks
-Paul

__
R-help@r-project.org 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.


Re: [R] slow graphics download

2008-10-20 Thread Prof Brian Ripley

I suspect that you need to set the type= in X11(): see its help page.
E.g.

 'type = nbcairo' is the same device as 'type=cairo' without
 buffering: which is faster will depend on the X11 connection.
 Both will be slower than 'type = Xlib', especially on a slow X11
 connection as all the rendering is done on the machine running R
 rather than in the X server.

Basically, R's X11 device is now by default optimized for quality rather 
than speed, and your unusual usage needs the reverse.



On Mon, 20 Oct 2008, Paul Murtaugh wrote:


Hi,

I often work from home, running R on my office computer and displaying 
interactive graphics on my home computer using X11.  This was always more 
sluggish than sitting at my office computer, obviously, but recently the 
graphics transfer has become painfully slow -- so slow, that I now divert the 
images to a postscript file and display that file remotely (which takes a 
second or two).


I don't know what changed between the old days and now -- I may have 
installed a new version of R and updated the o.s. (ubuntu) on both computers, 
but am unsure of the timing.  I realize this makes troubleshooting difficult, 
but I am hoping someone can offer a tip on where to begin.


Thanks
-Paul

__
R-help@r-project.org 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.



--
Brian D. Ripley,  [EMAIL PROTECTED]
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, UKFax:  +44 1865 272595

__
R-help@r-project.org 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.