I am trying to run linear mixed effects models with package lme4 in R. I have the most recent versions of R & RStudio, have updated the lme4 package, and continue to get the error that package ‘Matrix’ required by ‘lme4’ could not be found. I am not running into this problem on my personal computer after updating R & RStudio so I’m not quite sure what to do. Any help would be greatly appreciated– thanks in advance!
I have updated everything and expected Matrix to be available, but it is not.
library(lme4)
Error: package ‘Matrix’ required by ‘lme4’ could not be found
Courtney B is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.