Skip to navigation

R: lme4/ Matrix not finding “libRlapack.so”

I had a problem in R when trying to load the package lme4 on Xubuntu Intrepid:

> library(lme4)
Loading required package: Matrix
Loading required package: lattice
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared library '/usr/local/lib/R/site-library/Matrix/libs/Matrix.so':
  libRlapack.so: cannot open shared object file: No such file or directory
Error: package 'Matrix' could not be loaded

Found solution here, which is as follows:

sudo ln -s /usr/lib/R/modules/lapack.so /usr/lib/libRlapack.so

One Response to “R: lme4/ Matrix not finding “libRlapack.so””

  1. chuleta: instalar Rstudio en Mageia (x86-64) « Outrascousas’s Weblog Says:

    […] http://promberger.info/linux/2009/03/20/r-lme4-matrix-not-finding-librlapackso/ […]