*installing*source*package‘rgeo" />

为 Linux 安装 R 包时出错答案

您所在的位置:网站首页 r语言fgarch包 为 Linux 安装 R 包时出错答案

为 Linux 安装 R 包时出错答案

2023-04-08 07:49| 来源: 网络整理| 查看: 265

我试图在 R 3.3 上安装一个名为“rgeos”的包,但是当我输入时

install.packages("rgeos")

但它返回了以下错误(其他包也会发生同样的情况,但不是所有包):

> * installing *source* package ‘rgeos’ ... ** package ‘rgeos’ successfully unpacked and MD5 sums checked configure: CC: gcc configure: CXX: g++ configure: rgeos: 0.3-19 checking for /usr/bin/svnversion... no configure: svn revision: 524 checking for geos-config... no no configure: error: geos-config not found or not executable. ERROR: configuration failed for package ‘rgeos’ * removing ‘/home/kdg/R/x86_64-pc-linux-gnu-library/3.3/rgeos’ > > The downloaded source packages are in > ‘/tmp/Rtmpsa5pDo/downloaded_packages’ Warning message: In > install.packages("rgeos") : installation of package ‘rgeos’ had > non-zero exit status

任何线索如何安装这个包?



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3