即使在通过加载测试(版本0.5.200.1.0,R 3.1,mac OS mavericks)的源代码安装了RcppArmadillo
包之后,RcppArmadillo
的加载也失败了。
有人已经遇到过这个问题,并且有任何想法来修复它吗?
install.packages("~/Downloads/RcppArmadillo_0.5.200.1.0-2.tar", repos = NULL,type='source')
* installing *source* package ‘RcppArmadillo’ ...
** package ‘RcppArmadillo’ correctement décompressé et sommes MD5 vérifiées
* checking LAPACK_LIBS: divide-and-conquer complex SVD available via R-supplied LAPACK
** libs
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/Rcpp/include" -I../inst/include -fPIC -Wall -mtune=core2 -g -O2 -c RcppArmadillo.cpp -o RcppArmadillo.o
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/Rcpp/include" -I../inst/include -fPIC -Wall -mtune=core2 -g -O2 -c RcppExports.cpp -o RcppExports.o
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/Rcpp/include" -I../inst/include -fPIC -Wall -mtune=core2 -g -O2 -c fastLm.cpp -o fastLm.o
clang++ -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -o RcppArmadillo.so RcppArmadillo.o RcppExports.o fastLm.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/usr/local/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2 -lgfortran -lquadmath -lm -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Library/Frameworks/R.framework/Versions/3.1/Resources/library/RcppArmadillo/libs
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (RcppArmadillo)
library(RcppArmadillo)
get中的错误(Info [i,1],envir = env):延迟加载数据库'P'已损坏 De plus:Message d'avis: 在get(Info [i,1],envir = env)中:R_decompress1中的内部错误-3 Erreur:le chargement du package ou de l'espace de nomsaéchouépour'RcppArmadillo'