ich bin R-Neuling und nutze die R version 4.0.4 (2021-02-15) unter Linux Mint 19.3 Tricia Cinnamon 64-bit.
Beim Versuch das qwraps2-Paket zu installieren bekomme ich folgende Ausgabe:
Code: Alles auswählen
> install.packages("qwraps2")
Installing package into ‘/home/lena/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
also installing the dependency ‘RcppArmadillo’
versuche URL 'https://cloud.r-project.org/src/contrib/RcppArmadillo_0.10.2.1.0.tar.gz'
Content type 'application/x-gzip' length 1660746 bytes (1.6 MB)
==================================================
downloaded 1.6 MB
versuche URL 'https://cloud.r-project.org/src/contrib/qwraps2_0.5.1.tar.gz'
Content type 'application/x-gzip' length 535326 bytes (522 KB)
==================================================
downloaded 522 KB
* installing *source* package ‘RcppArmadillo’ ...
** Paket ‘RcppArmadillo’ erfolgreich entpackt und MD5 Summen überprüft
** using staged installation
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ -std=gnu++11 accepts -g... yes
checking how to run the C++ preprocessor... g++ -std=gnu++11 -E
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ -std=gnu++11 accepts -g... (cached) yes
checking whether we have a suitable tempdir... /tmp
checking whether R CMD SHLIB can already compile programs using OpenMP... yes
checking LAPACK_LIBS... system LAPACK found
configure: creating ./config.status
config.status: creating inst/include/RcppArmadilloConfigGenerated.h
config.status: creating src/Makevars
** libs
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I'/home/lena/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I../inst/include -fpic -g -O2 -fdebug-prefix-map=/build/r-base-EkOYxp/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c RcppArmadillo.cpp -o RcppArmadillo.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I'/home/lena/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I../inst/include -fpic -g -O2 -fdebug-prefix-map=/build/r-base-EkOYxp/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I'/home/lena/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I../inst/include -fpic -g -O2 -fdebug-prefix-map=/build/r-base-EkOYxp/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c fastLm.cpp -o fastLm.o
g++ -std=gnu++11 -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -o RcppArmadillo.so RcppArmadillo.o RcppExports.o fastLm.o -llapack -lblas -lgfortran -lm -lquadmath -L/usr/lib/R/lib -lR
/usr/bin/ld: -llapack kann nicht gefunden werden
/usr/bin/ld: -lblas kann nicht gefunden werden
collect2: error: ld returned 1 exit status
/usr/share/R/share/make/shlib.mk:10: recipe for target 'RcppArmadillo.so' failed
make: *** [RcppArmadillo.so] Error 1
ERROR: compilation failed for package ‘RcppArmadillo’
* removing ‘/home/lena/R/x86_64-pc-linux-gnu-library/4.0/RcppArmadillo’
Warning in install.packages :
installation of package ‘RcppArmadillo’ had non-zero exit status
ERROR: dependency ‘RcppArmadillo’ is not available for package ‘qwraps2’
* removing ‘/home/lena/R/x86_64-pc-linux-gnu-library/4.0/qwraps2’
Warning in install.packages :
installation of package ‘qwraps2’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpRpZqWK/downloaded_packages’