gpt4 book ai didi

r - 包 ‘tidyverse’ 的 Ubuntu 安装具有非零退出状态

转载 作者:行者123 更新时间:2023-12-04 19:12:08 26 4
gpt4 key购买 nike

您好,我在 Ubuntu 18.0.4 中使用 R 并且无法安装软件包。我已经安装

sudo apt-get install libcurl4-openssl-dev

但它仍然会产生以下错误

installing source package ‘labelled’ ... package ‘labelled’ successfully unpacked and MD5 sums checked R inst preparing package for lazy loading Warning: S3 methods ‘[.fun_list’, ‘[.grouped_df’, ‘all.equal.tbl_df’, ‘anti_join.data.frame’, ‘anti_join.tbl_df’, ‘arrange.data.frame’, ‘arrange.default’, ‘arrange.grouped_df’, ‘arrange.tbl_df’, ‘arrange_.data.frame’, ‘arrange_.tbl_df’, ‘as.data.frame.grouped_df’, ‘as.data.frame.rowwise_df’, ‘as.data.frame.tbl_cube’, ‘as.data.frame.tbl_df’, ‘as.table.tbl_cube’, ‘as.tbl.data.frame’, ‘as.tbl.tbl’, ‘as.tbl_cube.array’, ‘as.tbl_cube.data.frame’, ‘as.tbl_cube.matrix’, ‘as.tbl_cube.table’, ‘as_data_frame.grouped_df’, ‘as_data_frame.tbl_cube’, ‘auto_copy.tbl_cube’, ‘auto_copy.tbl_df’, ‘cbind.grouped_df’, ‘collapse.data.frame’, ‘collect.data.frame’, ‘common_by.NULL’, ‘common_by.character’, ‘common_by.default’, ‘common_by.list’, ‘compute.data.frame’, ‘copy_to.DBIConnection’, ‘copy_to.src_local’, ‘default_missing.data.frame’, ‘default_missing.default’, �� [... truncated] Error in library.dynam(lib, package, package.lib) : shared object ‘dplyr.so’ not found ERROR: lazy loading failed for package ‘labelled’ removing ‘/home/sami/R/x86_64-pc-linux-gnu-library/3.4/labelled’



下载的源码包在
'/tmp/RtmpZbHxk1/downloaded_pa​​ckages'

警告信息:

In install.packages("labelled") : installation of package ‘labelled’ had non-zero exit status

最佳答案

尝试安装以下库: libxml2-dev、libssl-dev 和 libcurl4-openssl-dev .尝试使用 apt 命令安装它们。

问候!

关于r - 包 ‘tidyverse’ 的 Ubuntu 安装具有非零退出状态,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51734386/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com