繁体   English   中英

适用于Windows的R,ncdf和clim.pact

[英]R,ncdf and clim.pact compatibily for Windows

我的最终目标是在R中安装clim.pact软件包。这需要ncdf软件包,该软件包在此3.5.1 R版本中不再可用。 我的选择是2。

  1. 下载clim.pact软件包,并使用ncdf4函数替换与ncdf相关的函数。 我发现应该替换的ncdf函数是cdfextract.Rretrieve.nc.R但是我不确定我必须替换ncdf4的哪个函数。

2.找到与ncdfclim.pact软件包兼容的旧R版本的组合。

尝试将R和软件包的旧版本结合使用。 它们可以在我的Windows 7 PC上运行:

R version 3.1.3 (2015-03-09)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

locale:
[1] LC_COLLATE=English_United Kingdom.1252  LC_CTYPE=English_United Kingdom.1252   
[3] LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C                           
[5] LC_TIME=English_United Kingdom.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] clim.pact_2.3-10 akima_0.6-2      devtools_1.13.5  ncdf_1.6.8      

loaded via a namespace (and not attached):
 [1] curl_3.2        digest_0.6.14   grid_3.1.3      httr_1.3.1      lattice_0.20-30 memoise_1.1.0  
 [7] R6_2.2.2        sp_1.2-7        tools_3.1.3     withr_2.1.2

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM