[R-sig-Debian] lapack routines cannot be loaded

G See gsee000 at gmail.com
Mon Oct 29 13:45:14 CET 2012


I installed R in (what I believe is) the standard way by adding the
following line to /etc/apt/sources.list

    deb http://cran.us.r-project.org/bin/linux/ubuntu precise/

All was well, until I recently upgraded from 2.15.1 to 2.15.2 by running

    sudo apt-get update
    sudo apt-get upgrade

Now, when I try to do simple things, I get an error. e.g.

    R> PP.test(rnorm(1000))
    Error in chol2inv(Qr$qr[p1, p1, drop = FALSE]) :
      lapack routines cannot be loaded
    In addition: Warning message:
    In chol2inv(Qr$qr[p1, p1, drop = FALSE]) :
      unable to load shared object '/usr/lib/R/modules//lapack.so':
      /usr/lib/R/modules//lapack.so: undefined symbol: dpstrf_

I'm pretty sure I've never tried to build R from sources on this box.
Does anyone have any advice for how I can remedy this error?

Thanks,
Garrett

P.S.
R> sessionInfo()
R version 2.15.2 (2012-10-26)
Platform: x86_64-pc-linux-gnu (64-bit)

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
 [7] LC_PAPER=C                 LC_NAME=C
 [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

R> unlist(R.Version())
                       platform                            arch
          "x86_64-pc-linux-gnu"                        "x86_64"
                             os                          system
                    "linux-gnu"             "x86_64, linux-gnu"
                         status                           major
                             ""                             "2"
                          minor                            year
                         "15.2"                          "2012"
                          month                             day
                           "10"                            "26"
                        svn rev                        language
                        "61015"                             "R"
                 version.string                        nickname
"R version 2.15.2 (2012-10-26)"                "Trick or Treat"



More information about the R-SIG-Debian mailing list