Problem while opening netcdf file in Rstudio 3.6.2

Hi, i downloaded and unzipped the climate data in netcdf format from :
but when i tried to open it in R as below;
nc.pre <- nc_open("")

I received an error message:
Error in R_nc4_open: Permission denied
Error in nc_open("") :
Error in nc_open trying to open file

Please can someone assist me on how to resolve the issue,

Complete guess here but Permission denied sounds like an OS related file permissions issue.
Are you possibly on a Linux OS, and could it be that file needs to be chmod for read access for you ?

thanks for your response i use windows OS and the file is read access

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.