安装nctf4

安装nctf4


系统是CentOS 7.6
在使用bio3d读取轨迹时发现无法读取Amber的轨迹文件发现缺少nctf4这个包。

> read.ncdf(trjfile = "../../md/eq.mdcrd")
Error in read.ncdf(trjfile = "../../md/eq.mdcrd") : 
  Please install the ncdf4 package from CRAN

nctf4是R中用来读取轨迹的包。在windows下面应该是可以直接安装ncdf4的。但是在linux下需要编译后在安装。所以在bio3d包中并没有安装好这个包。
在R中直接用install.packages安装nctf4发现错误。没有找到nc-config

> install.packages("ncdf4")
Installing package into ‘/home/yangqf/R/x86_64-redhat-linux-gnu-library/3.5’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/src/contrib/ncdf4_1.16.1.tar.gz'
Content type 'application/x-gzip' length 121046 bytes (118 KB)
==================================================
downloaded 118 KB

* installing *source
  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值