我通过使用
下载了预测软件包install.packages("forecast")
library("forecast)
但是当我尝试加载程序包时,会收到以下消息:
错误:在“预测”中,程序包或名称空间加载失败 dyn.load(文件,DLLpath = DLLpath,...):无法加载共享对象 '/Library/Frameworks/R.framework/Versions/3.4.1-MRO/Resources/library/fracdiff/libs/fracdiff.so': dlopen(/Library/Frameworks/R.framework/Versions/3.4.1 MRO /资源/库/fracdiff/libs/fracdiff.so,6):库未 已加载: /Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libRblas.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/3.4.1-MRO/Resources/library/fracdiff/libs/fracdiff.so Reason: image not found
我的会话信息如下:
sessionInfo()
R version 3.4.1 (2017-06-30)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: OS X Yosemite 10.10.5
Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
locale:
[1] en_CA.UTF-8/en_CA.UTF-8/en_CA.UTF-8/C/en_CA.UTF-8/en_CA.UTF-8