Compiling old versions of R (2.11 or older) on Ubuntu 13.10 (or newer)?

Posted by user283293 on Ask Ubuntu See other posts from Ask Ubuntu or by user283293
Published on 2014-06-09T19:44:15Z Indexed on 2014/06/09 21:40 UTC
Read the original article Hit count: 184

Filed under:
|
|
|

I am trying to compile an old version of R (2.11.1, specifically). "Why?", you might ask. Well, I have a program I am trying to run (that was not written by me, but I am hoping to use in my research) that was written in "old" R, and the program writer has specifically mentioned that R-2.11.1 or older must be used.

  • I have run ./configure with no obvious errors (the entire output being far too long to post here, but I have been warned that I cannot make PDF, DVI, or HTML versions of the help pages, which I'm not too concerned about).

  • Next, when I pass the make command, I am met with the following error (after a long stream of successful commands):

    Warning in solve.default(rgb):
    unable to load shared library '/home/sbowerma/Programs/R-2.11.1/modules//lapack.so':
    /home/sbowerma/Programs/R-2.11.1/lib/libRlapack.so: undefined symbol: _gfortran_compare_string
    Error in solve.default(rgb) : lapack routines cannot be loaded
    Error: unable to load R code in package 'grDevices'
    Execution halted
    

However, I have confirmed that the library lapack.so is, in fact, in the exact position it is supposed to be.

© Ask Ubuntu or respective owner

Related posts about 13.10

Related posts about 14.04