I load the necessary library (ncdf4) and directed the right path but I don't know why it is having permission denied to open it:
nc = nc_open('temp.nc')
Error:
Error in R_nc4_open: Permission denied
I found a similar question in this group (Problem while opening netcdf file in Rstudio 3.6.2), but it is closed and has no needful information in it.
Looking for kind suggestions.
Many thanks.