简体   繁体   中英

Installation of ncdf and clim.pact packages in R for windows

Hi I need to instal the clim.pact package in R but it is not available in CRAN anymore. From this link I learnt that I have to download and install the ncdf package first but this is not available in CRAN either and I should download it from here . Does anyone knows how to install those?

Well, one really easy way is to use devtools with the github cran repository:

devtools::install_github("cran/ncdf")
devtools::install_github("cran/clim.pact")

You could also download the tar.gz file and then install the packages locally using the remotes package:

remotes::install_local("path/to/archive.tar.gz")

Unfortunately, neither strategy worked for installing on R 3.5.2. Try this with the last known version of R that netcdf was released for.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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