Hi there,
I am having some issues installing mice
for 4.0.2
on Ubuntu 22.04. Any idea what to change or do differently to get it to work?
> install.packages("mice")
Installing package into ‘/home/zelaznog/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 537k 100 537k 0 0 307k 0 0:00:01 0:00:01 --:--:-- 307k
Microsoft R Open 4.0.2
The enhanced R distribution from Microsoft
Microsoft packages Copyright (C) 2020 Microsoft Corporation
Using the Intel MKL for parallel mathematical computing (using 4 cores).
Default CRAN mirror snapshot taken on 2020-07-16.
See: https://mran.microsoft.com/.
* installing *source* package ‘mice’ ...
** package ‘mice’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
g++ -I/opt/microsoft/ropen/4.0.2/lib64/R/include -DNDEBUG -I'/home/zelaznog/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -DU_STATIC_IMPLEMENTATION -fpic -DU_STATIC_IMPLEMENTATION -O2 -g -c RcppExports.cpp -o RcppExports.o
g++ -I/opt/microsoft/ropen/4.0.2/lib64/R/include -DNDEBUG -I'/home/zelaznog/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -DU_STATIC_IMPLEMENTATION -fpic -DU_STATIC_IMPLEMENTATION -O2 -g -c match.cpp -o match.o
g++ -shared -L/opt/microsoft/ropen/4.0.2/lib64/R/lib -o mice.so RcppExports.o match.o Microsoft R Open 4.0.2 The enhanced R distribution from Microsoft Microsoft packages Copyright (C) 2020 Microsoft Corporation Using the Intel MKL for parallel mathematical computing (using 4 cores). Default CRAN mirror snapshot taken on 2020-07-16. See: https://mran.microsoft.com/. -L/opt/microsoft/ropen/4.0.2/lib64/R/lib -lR
/usr/bin/ld: cannot find Microsoft: No such file or directory
/usr/bin/ld: cannot find R: No such file or directory
/usr/bin/ld: cannot find Open: No such file or directory
/usr/bin/ld: cannot find 4.0.2: No such file or directory
/usr/bin/ld: cannot find The: No such file or directory
/usr/bin/ld: cannot find enhanced: No such file or directory
/usr/bin/ld: cannot find R: No such file or directory
/usr/bin/ld: cannot find distribution: No such file or directory
/usr/bin/ld: cannot find from: No such file or directory
/usr/bin/ld: cannot find Microsoft: No such file or directory
/usr/bin/ld: cannot find Microsoft: No such file or directory
/usr/bin/ld: cannot find packages: No such file or directory
/usr/bin/ld: cannot find Copyright: No such file or directory
/usr/bin/ld: cannot find (C): No such file or directory
/usr/bin/ld: cannot find 2020: No such file or directory
/usr/bin/ld: cannot find Microsoft: No such file or directory
/usr/bin/ld: cannot find Corporation: No such file or directory
/usr/bin/ld: cannot find Using: No such file or directory
/usr/bin/ld: cannot find the: No such file or directory
/usr/bin/ld: cannot find Intel: No such file or directory
/usr/bin/ld: cannot find MKL: No such file or directory
/usr/bin/ld: cannot find for: No such file or directory
/usr/bin/ld: cannot find parallel: No such file or directory
/usr/bin/ld: cannot find mathematical: No such file or directory
/usr/bin/ld: cannot find computing: No such file or directory
/usr/bin/ld: cannot find (using: No such file or directory
/usr/bin/ld: cannot find 4: No such file or directory
/usr/bin/ld: cannot find cores).: No such file or directory
/usr/bin/ld: cannot find Default: No such file or directory
/usr/bin/ld: cannot find CRAN: No such file or directory
/usr/bin/ld: cannot find mirror: No such file or directory
/usr/bin/ld: cannot find snapshot: No such file or directory
/usr/bin/ld: cannot find taken: No such file or directory
/usr/bin/ld: cannot find on: No such file or directory
/usr/bin/ld: cannot find 2020-07-16.: No such file or directory
/usr/bin/ld: cannot find See:: No such file or directory
/usr/bin/ld: cannot find https://mran.microsoft.com/.: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [/opt/microsoft/ropen/4.0.2/lib64/R/share/make/shlib.mk:6: mice.so] Error 1
ERROR: compilation failed for package ‘mice’
* removing ‘/home/zelaznog/R/x86_64-pc-linux-gnu-library/4.0/mice’
Warning in install.packages :
installation of package ‘/tmp/RtmpQjJgau/downloaded_packages/mice_3.10.0.tar.gz’ had non-zero exit status