Hi,
I have been using the Posit Workbench. The msm package was properly installed. however, that is producing the following error while loding the package. Any suggestion would be highly appreciated. Thanks
library(msm)
Error: package or namespace load failed for ‘msm’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/mnt/efs/home/ID.../R/x86_64-pc-linux-gnu-library/4.3/expm/libs/expm.so':
libRlapack.so: cannot open shared object file: No such file or directory
I think you are misreading @ Gabor's message. He thinks it is the {expm} package that is broken. {msm} is supposed to import it but that may not be working properly.
Just different enough that I am not sure how to interpret it. but I do notice that you seem to have an older version of LAPACK installed v. 3.9.0 versus my v.3.12.0 which maybe making a difference.
I've never seen Amazon Linux so I am just guessing even more than usual but you might want to check to see if there is a newer version for your Linux.
BTW, can I ask you to paste code or output between
```
```
rather than doing screenshots? It, usually, makes your code more readable and, if need be, it is easy to copy and paste.
Seems like you are installing Linux binary packages from a custom repository, and some of these are not compatible with your R installation.
If you have access to a regular CRAN repo or source packages, then try to install expm from source. This will compile it against the libraries you actually have. E.g. this might work if you have access to the CRAN repo: