我试图在R 3.3上安装名为"rgeos"的软件包,但是当我输入时
install.packages("rgeos")
Run Code Online (Sandbox Code Playgroud)
但它返回以下错误(与其他包相同,但不是所有包):
> * 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 …Run Code Online (Sandbox Code Playgroud) 我的问题是:
Rigth现在我有R 3.2木制圣诞树版本,但是我需要的一些软件包才能在这个版本上工作,所以当我尝试安装最新版本时,
./configure
Run Code Online (Sandbox Code Playgroud)
它返回下一个错误
configure: error: libcurl >= 7.28.0 library and headers are required with support for https
Run Code Online (Sandbox Code Playgroud)
我有一个名为libcurl3installed 的包.它已经在最后一个版本中了.
我很感激任何帮助.
注意:我使用的是基于Ubuntu的Peppermint 7操作系统