[R] Problems installing mice package

Jeremie Juste jeremiejuste at gmail.com
Wed Nov 15 10:08:48 CET 2017


I tried intalling mice package and got the following error:

* installing *source* package ‘mice’ ...
** package ‘mice’ successfully unpacked and MD5 sums checked
** libs
g++  -I/usr/local/lib/R/include -DNDEBUG  -I"/home/djj/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I/usr/local/include   -fpic  -g -O2  -c RcppExports.cpp -o RcppExports.o
g++  -I/usr/local/lib/R/include -DNDEBUG  -I"/home/djj/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I/usr/local/include   -fpic  -g -O2  -c match.cpp -o match.o
g++ -shared -L/usr/local/lib -o mice.so RcppExports.o match.o Welcome to R! Goodbye!
g++: error: Welcome: No such file or directory
g++: error: to: No such file or directory
g++: error: R!: No such file or directory
g++: error: Goodbye!: No such file or directory
/usr/local/lib/R/share/make/shlib.mk:6: recipe for target 'mice.so' failed
make: *** [mice.so] Error 1
ERROR: compilation failed for package ‘mice’
* removing ‘/home/djj/R/x86_64-pc-linux-gnu-library/3.4/mice’

The downloaded source packages are in
Error in library(mice) : there is no package called ‘mice’
In addition: Warning message:
In install.packages(deparse(substitute(mice)), repos = "http://cran.us.r-project.org") :
  installation of package ‘mice’ had non-zero exit status

I'm unable to resolve it. Any help please?

Best regards,


More information about the R-help mailing list