Install Deducer in Ubuntu LTSP fat clients (in ltsp-chroot)

14 views
Skip to first unread message

Iurie Malai

unread,
Feb 16, 2017, 11:18:02 AM2/16/17
to Deducer
I want to install Deducer with JGR in Ubuntu LTSP fat clients (in ltsp-chroot), but I failed at this step:
install.packages(c('JGR', 'Deducer', 'DeducerExtras'), repos = 'http://cran.r-project.org')

with this error:

Error : .onLoad failed in loadNamespace() for 'iplots', details:
call: .jnew("org/rosuda/iplots/Framework")
error: java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/usr/local/lib/R/site-library/iplots’
ERROR: dependency ‘iplots’ is not available for package ‘JGR’
* removing ‘/usr/local/lib/R/site-library/JGR’
ERROR: dependency ‘JGR’ is not available for package ‘Deducer’
* removing ‘/usr/local/lib/R/site-library/Deducer’
ERROR: dependency ‘Deducer’ is not available for package ‘DeducerExtras’
* removing ‘/usr/local/lib/R/site-library/DeducerExtras’

Does anyone know how I can solve this?

Ian Fellows

unread,
Feb 16, 2017, 1:43:29 PM2/16/17
to ded...@googlegroups.com
Don’t know much about this, but is this relevant: http://stackoverflow.com/questions/662421/no-x11-display-variable-what-does-it-mean http://stackoverflow.com/questions/5218870/getting-a-headlessexception-no-x11-display-variable-was-set? Perhaps something like

Sys.setenv(DISPLAY=0.0)

or

Sys.setenv(DISPLAY=localhost:0.0)

Ian
Message has been deleted

Iurie Malai

unread,
Feb 17, 2017, 3:42:04 AM2/17/17
to ded...@googlegroups.com

2017-02-16 20:43 GMT+02:00 Ian Fellows:
Sys.setenv(DISPLAY=0.0)

Ian, searching about Sys.setenv(DISPLAY=0.0) I found the solution in the Dirk Eddelbuettel's answer on http://stackoverflow.com/a/1710952/1354580. I solved my problem. Thank you!


Iurie
Reply all
Reply to author
Forward
0 new messages