错误:dyn.load中的'haven'的包或命名空间加载失败(文件,DLLpath = DLLpath,...):

时间:2018-03-15 01:59:27

标签: r centos r-haven

我无法打开安装'避风港'包。它给了我以下错误:

*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded
Error: package or namespace load failed for ‘haven’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/home/R/R/x86_64-redhat-linux-gnu-library/3.4/haven/libs/haven.so':
/home/R/R/x86_64-redhat-linux-gnu-library/3.4/haven/libs/haven.so:undefined symbol: libiconv
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/home/R/R/x86_64-redhat-linux-gnu-library/3.4/haven’
Warning in install.packages :
installation of package ‘haven’ had non-zero exit status

The downloaded source packages are in
‘/tmp/Rtmp4y5PTv/downloaded_packages’

我也尝试删除并重新安装它,但没有成功。

install.packages('haven', dep = TRUE)

0 个答案:

没有答案