[R] xvfb? cron job updates R packages, fails on some requiring X11
pauljohn32 at gmail.com
Thu Jan 19 17:52:16 CET 2017
In Centos 7 systems, I wrote a script that runs on the cron and I
notice some package updates and installs fail like this:
Error : .onLoad failed in loadNamespace() for 'iplots', details:
No X11 DISPLAY variable was set, but this program performed an
operation which requires it.
Error: loading failed
ERROR: loading failed
* removing ‘/usr/share/R/library/iplots’
* restoring previous ‘/usr/share/R/library/iplots’
I can log in interactively and run the same install successfully.
I understand I need something like xvfb to simulate an X11 session,
but I don't understand how to make it work. Can one of you give me an
idiot's guide on what to do?
Paul E. Johnson http://pj.freefaculty.org
Director, Center for Research Methods and Data Analysis http://crmda.ku.edu
To write to me directly, please address me at pauljohn at ku.edu.
More information about the R-help