[R] R with no gui

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Sun Apr 2 01:27:25 CEST 2000

Stuart Luppescu <s-luppescu at uchicago.edu> writes:

> I have an old IBM Thinkpad 701 that has a 340MB disk and a 486 CPU
> that's not good for much anymore, so I thought I'd install R on it
> and make it a little useful. I went to *tremendous* pains to upgrade
> Linux on it without X so there would be some room to put R. But
> having done that I find that the binary is R.X11 and it's looking
> for (but can't find) libSM.so, which is ordinarily in
> /usr/X11R6/lib. I tried to fool it by running it as R --gui=none,
> but it was too smart (or too dumb) to be taken in by that trick. So,
> is there any way I can get this to run without X?

Not easily at present. You can compile a version without X11, but only
by manually ripping out whatever internal organs get in the way (this
ought to have worked by passing --without-x to configure, but it
..well.. doesn't.) Erich Neuwirth did the exercise a couple of weeks
back and sent the instructions, so it should be possible to dig them
out if you want them.

Another option is to install just the X11 libraries that R wants to be
dynamically linked with, that'll be /usr/X11R6/lib/lib{X11,SM,ICE}.so*
I believe. That's really no more than 1 MB in all.

   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list