相关疑难解决方法(0)

R 加载错误 - libproj.so.13:无法打开共享对象文件:没有这样的文件或目录

我正在尝试安装 CRAN 群体遗传学包hierfstat;但是 libproj.so.13 打印出以下错误:

\n\n
> install.packages("hierfstat")\nInstalling package into \xe2\x80\x98/home/ecoevo/R/x86_64-pc-linux-gnu-library/3.6\xe2\x80\x99\n(as \xe2\x80\x98lib\xe2\x80\x99 is unspecified)\ntrying URL \'https://cloud.r-project.org/src/contrib/hierfstat_0.04-22.tar.gz\'\nContent type \'application/x-gzip\' length 460778 bytes (449 KB)\n==================================================\ndownloaded 449 KB\n\n* installing *source* package \xe2\x80\x98hierfstat\xe2\x80\x99 ...\n** package \xe2\x80\x98hierfstat\xe2\x80\x99 successfully unpacked and MD5 sums checked\n** using staged installation\n** R\n** data\n** inst\n** byte-compile and prepare package for lazy loading\nError in dyn.load(file, DLLpath = DLLpath, ...) : \n  unable to load shared object \'/home/ecoevo/R/x86_64-pc-linux-gnu-library/3.6/sf/libs/sf.so\':\n  libproj.so.13: cannot open shared object file: No such file or directory\nCalls: <Anonymous> ... …
Run Code Online (Sandbox Code Playgroud)

r install.packages lib r-sf ubuntu-20.04

7
推荐指数
1
解决办法
8652
查看次数

标签 统计

install.packages ×1

lib ×1

r ×1

r-sf ×1

ubuntu-20.04 ×1