小编Ale*_*Lee的帖子

在 R studio 中安装包“ncdf4”失败

我正在尝试安装一个名为“ncdf4”的 R 软件包。\n我已尝试将其安装在 R-studio 界面的“packages”部分,但也尝试输入install.packages("ncdf4")控制台。

\n\n

这是我在两种情况下得到的输出:

\n\n
Installing package into \xe2\x80\x98/home/user/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/ncdf4_1.17.tar.gz\'\nContent type \'application/x-gzip\' length 124458 bytes (121 KB)\n==================================================\ndownloaded 121 KB\n\n* installing *source* package \xe2\x80\x98ncdf4\xe2\x80\x99 ...\n** package \xe2\x80\x98ncdf4\xe2\x80\x99 successfully unpacked and MD5 sums checked\n** using staged installation\nconfigure.ac: starting\nchecking for nc-config... no\n-----------------------------------------------------------------------------------\nError, nc-config not found or not executable.  This is a script that comes with the\nnetcdf library, version 4.1-beta2 or later, and must be present for configuration\nto succeed.\n\nIf you installed the netcdf library (and …
Run Code Online (Sandbox Code Playgroud)

installation r package ncdf4

3
推荐指数
1
解决办法
6429
查看次数

标签 统计

installation ×1

ncdf4 ×1

package ×1

r ×1