David Zhao
2005-Oct-12 21:04 UTC
[R] running JPEG device on R 1.9.1 using xvfb-run on Linux
Hi there, Does anybody have experience in running jpeg device using xvfb-run on linux? I've been having sporadic problem with: /usr/X11/bin/xvfb-run /usr/bin/R --no-save < Rinput.txt, with error saying: error in X11 connection. Especially when I run it from a perl script. Is there a better way of doing this? or how can I fix the problem. Thanks in advance! David [[alternative HTML version deleted]]
Prof Brian Ripley
2005-Oct-13 06:29 UTC
[R] running JPEG device on R 1.9.1 using xvfb-run on Linux
On Wed, 12 Oct 2005, David Zhao wrote:> Does anybody have experience in running jpeg device using xvfb-run on > linux? I've been having sporadic problem with: /usr/X11/bin/xvfb-run > /usr/bin/R --no-save < Rinput.txt, with error saying: error in X11 > connection. Especially when I run it from a perl script.Not sure what `xvfb-run on Linux' is, as it is not on my Linux (FC3). If you Google it you will find a number of problems reported on Debian lists. Here I would suspect timing. What I do is to run Xvfb on screen 5 by Xvfb :5 & setenv DISPLAY :5 and do not have a problem with the jpeg() or png() devices. I do have a problem with the rgl() package, but then I often do on-screen (on both 32- and even more so 64-bit FC3).> Is there a better way of doing this? or how can I fix the problem.You really should update your R. -- 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
Possibly Parallel Threads
- X11 png jpeg cledit false when running from script
- Xvfb and R
- Use of xvfb : X11 cannot allocate additional graphics colors. Consider using colortype="pseudo.cube" or "gray"
- Running wine from php pages with "Xvfb" not success for my machine
- Using jpeg() function over cgi