Skip to content
Prev 20423 / 20628 Next

errors building lme4 from source: Indexis not a member of 'lme4::lme4CholmodDecomposition...

I don't _really_ have a clue here, but source installs of lme4 work fine on Mac with both R-patched and R-devel.

I have seen RStudio get confused (seemingly and on students' machines) about what has been properly installed, so perhaps try reinstalling all relevant packages from R in a terminal? (or, I think, use utils::install.packages(....) to bypass RStudio's replacement). That would be the 5 packages below, RcppEigen being my main suspect.

---
also installing the dependencies ?minqa?, ?nloptr?, ?Rcpp?, ?RcppEigen?

trying URL 'https://cloud.r-project.org/src/contrib/minqa_1.2.7.tar.gz'
Content type 'application/x-gzip' length 54344 bytes (53 KB)
==================================================
downloaded 53 KB

trying URL 'https://cloud.r-project.org/src/contrib/nloptr_2.1.1.tar.gz'
Content type 'application/x-gzip' length 2236635 bytes (2.1 MB)
==================================================
downloaded 2.1 MB

trying URL 'https://cloud.r-project.org/src/contrib/Rcpp_1.0.12.tar.gz'
Content type 'application/x-gzip' length 3430494 bytes (3.3 MB)
==================================================
downloaded 3.3 MB

trying URL 'https://cloud.r-project.org/src/contrib/RcppEigen_0.3.4.0.0.tar.gz'
Content type 'application/x-gzip' length 1765714 bytes (1.7 MB)
==================================================
downloaded 1.7 MB

trying URL 'https://cloud.r-project.org/src/contrib/lme4_1.1-35.4.tar.gz'
Content type 'application/x-gzip' length 3308646 bytes (3.2 MB)
==================================================
downloaded 3.2 MB


-pd