- I met the following problem when I try to install R package expm:
* installing *source* package ‘expm’ ...
To fix this issue, I conduct these steps:
- Download expm_0.999-3.tar.gz from https://cran.r-project.org/web/packages=expm
- Unzip expm_0.999-3.tar.gz file and go into the src/ folder
Add a command in the first line of locale.h
Save the modification and R CMD INSTALL expm