在R中安装RNetCDF包时无法访问udunitslib
您好,我正在尝试在RStudio中安装RNetCDF软件包。但是当我尝试这样做时,我得到了错误信息在R中安装RNetCDF包时无法访问udunitslib,r,fedora,netcdf,R,Fedora,Netcdf,您好,我正在尝试在RStudio中安装RNetCDF软件包。但是当我尝试这样做时,我得到了错误信息 -----Error: libudunits2.a not found----- If the udunits2 library is installed in a non-standard location, use --configure-args='--with-udunits2-lib=/usr/local/lib' for example, or --con
-----Error: libudunits2.a not found-----
If the udunits2 library is installed in a non-standard location,
use --configure-args='--with-udunits2-lib=/usr/local/lib' for example,
or --configure-args='--with-udunits2-include=/usr/include/udunits2'
replacing paths with appropriate values for your installation.
于是我试着
install.packages('udunits2', configure.args=('--with-udunits2-lib=/opt/lib'))
因为我的libudunits2.a在/opt/lib
错误信息再次相同;而且
checking udunits2.h usability... no
checking udunits2.h presence... no
checking for udunits2.h... no
checking for ut_read_xml in -ludunits2... no
我再次尝试给出udunits.h的位置
install.packages('udunits2', configure.args=('--with-udunits2-lib=/opt/lib/ --with-udunits2-include=/opt/include'))
这次的错误是:
checking for ut_read_xml in -ludunits2... no
我用的是软呢帽23。任何帮助都将不胜感激。谢谢你首先尝试一下,你可能还需要尝试一下这里介绍的一些开发版本,谢谢!这有助于()首先尝试这一点。您可能还需要尝试此处所述的一些开发版本。谢谢!这有助于()