Re: [R] X11 png jpeg cledit false when running from script

From: Prof Brian Ripley <>
Date: Thu 15 Dec 2005 - 17:37:15 EST

It could be as simple as not having DISPLAY set when running the script.

capabilities() first checks there is a display specified, then that it can be opened. SELinux (which my FC3 box runs) does from time to time get in the way (a month or so ago it stopped scripts accessing Xvfb), but usually this is solved by updating/downdating the policies.

Marc Schwartz mentioned bitmap(): there is also package GDD if you can get that to run (it runs for me on i386 FC3, but not on x86_64 FC3)

On Wed, 14 Dec 2005, Jon Dressel wrote:

> When launching R from a script, when queried it reports the following
> capabilities as false: jpeg, png, x11 and cledit. When R is run from a
> terminal session, all of these capabilities are reported true. R is
> running on FC4. As the purpose of this script is to output the png file
> to a browser, it is unable to complete because of this. Any ideas are
> appreciated. We have an identical setup running on FC3 and there is not
> a problem.

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
PLEASE do read the posting guide!
Received on Thu Dec 15 17:45:47 2005

This archive was generated by hypermail 2.1.8 : Thu 15 Dec 2005 - 20:28:06 EST