Displaying 1 result from an estimated 1 matches for "findghostscript".
2007 Apr 20
2
R in cron job: X problems
I'd like to use an R CMD BATCH script as part of a chron job that is set
up to run every hour.
The trouble is that the script creates a graphical output in a file via
png(), and apparently this in turn works through X.
When cron invokes the job, no X server is available -- I suppose that
the DISPLAY variable is not set -- and so R exits with an error message
in the output file. (If I run the