[英]Installing RIO Package : shared object ‘haven.so’ not found
I've some problem to install package in R.我在 R 中安装软件包时遇到了一些问题。
I write :我写的 :
install.packages("rio", dependencies = TRUE)
And it gives the error message:它给出了错误消息:
- installing source package 'rio' ... ** package 'rio' correctement décompressé et sommes MD5 vérifiées ** R ** inst ** preparing package for lazy loading Warning: S3 methods '[.labelled', '[.labelled_spss', 'as.data.frame.labelled', 'as_factor.data.frame', 'as_factor.labelled', 'is.na.labelled_spss', 'print.labelled', 'print.labelled_spss', 'type_sum.labelled', 'zap_formats.data.frame', 'zap_formats.default', 'zap_labels.data.frame', 'zap_labels.default', 'zap_labels.labelled', 'zap_labels.labelled_spss', 'zap_missing.data.frame', 'zap_missing.default', 'zap_missing.labelled', 'zap_missing.labelled_spss', 'zap_widths.data.frame', 'zap_widths.default' were declared in NAMESPACE but not found Error in library.dynam(lib, package, package.lib) : shared object 'haven.so' not found ERROR: lazy loading failed for package 'rio'
安装源包 'rio' ... ** 包 'rio' 更正 décompressé et sommes MD5 vérifiées ** R ** inst ** 准备延迟加载包警告:S3 方法 '[.labelled', '[.labelled_spss', 'as.data.frame.labelled', 'as_factor.data.frame', 'as_factor.labelled', 'is.na.labelled_spss', 'print.labelled', 'print.labelled_spss', 'type_sum.labelled', “zap_formats.data.frame”、“zap_formats.default”、“zap_labels.data.frame”、“zap_labels.default”、“zap_labels.labelled”、“zap_labels.labelled_spss”、“zap_missing.data.frame”、“zap_missing” .default', 'zap_missing.labelled', 'zap_missing.labelled_spss', 'zap_widths.data.frame', 'zap_widths.default' 在 NAMESPACE 中声明但未找到 library.dynam(lib, package, package.lib) 中的错误:找不到共享对象“haven.so”错误:包“rio”的延迟加载失败
- removing '/home/durand-s/R/x86_64-pc-linux-gnu-library/3.4/rio' Warning in install.packages : installation of package '/tmp/RtmpZI89tI/downloaded_packages/rio_0.4.6.tar.gz' had non-zero exit status
删除 install.packages 中的“/home/durand-s/R/x86_64-pc-linux-gnu-library/3.4/rio”警告:安装包“/tmp/RtmpZI89tI/downloaded_packages/rio_0.4.6.tar.gz”具有非零退出状态
I think that I miss some lib-dev or something like that but I cant find which one I need for rio
's.我想我想念一些 lib-dev 或类似的东西,但我找不到
rio
需要哪个。
While trying to install the rio
package in Microsoft windows.尝试在 Microsoft Windows 中安装
rio
包时。 I faced an error.我遇到了一个错误。 In order to resolve that issue, I googled and came to this page.
为了解决这个问题,我用谷歌搜索并来到了这个页面。
I know this post is a bit old but thought to share it for those who face a similar issue in installing this package.我知道这篇文章有点旧,但想分享给那些在安装这个包时遇到类似问题的人。
Similar to this post: Error: "there is no package called ..." and trying to use install.packages to solve it类似于这篇文章: 错误:“没有名为...的包”并尝试使用 install.packages 来解决它
I could only install rio
when I used the command: install.packages('rio', dependencies = TRUE, repos='http://cran.rstudio.com/')
我只能在使用命令时安装
rio
: install.packages('rio', dependencies = TRUE, repos='http://cran.rstudio.com/')
This seems to be a Linux-specific problem ( Got message unable to load shared object stats.so when R starts , shared object 'RCurl.so' not found )这似乎是 Linux 特定的问题( 在 R 启动时无法加载共享对象 stats.so 消息,找不到共享对象 'RCurl.so' )
Does uninstalling and reinstalling the haven
package fix it?卸载并重新安装
haven
包是否可以修复它?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.