is there an equivalent to Matrix package for R431? I need to make lme4 package work

Hi,
After library(lme4)
the message was that I needed to install Matrix pakage
I tried it
The message was Matrix p is not available for R431
How could I make lme4 package work without Matrix package?

The easiest solution to your problem is to upgrade your R to the latest version. Can you do that?

Since Matrix has a very restrictive R >= 4.4.0 condition i would suggest

install.packages('Matrix', repos = "https://packagemanager.posit.co/cran/2024-01-12")

This will give you the 1.6-5 version of the Matrix package where they had only the restriction R>=3.5.0 so you should be safe.

You can't it is a dependency of lme4 and it won't work without the Matrix package being installed.

1 Like