how to install R packages “RNetCDF” and “ncdf” on Ubuntu?

后端 未结 3 949
情书的邮戳
情书的邮戳 2021-01-02 09:31

I would like to use the R packages RNetCDF and ncdf in Ubuntu.

When I try install.packages(\'RNetCDF\') or install.packages(\'ncdf\'), I ge

3条回答
  •  [愿得一人]
    2021-01-02 10:22

    You need to install the -dev of those packages to get the headers that are required to compile the package. In this case, you need libnetcdf-dev, udunits-bin and libudunits2-dev

提交回复
热议问题