[R] problem with creating a netcdf file under script sh

2009-04-08 Thread tuatu
Hi everyone, I try to make a netcdf file which disposes a difference between 2 variables of 2netcdf files the same dimension When I programmed under R, everything is ok but when I put the code under EOF of a sh script, an error occurs: "Error, passed variable has a dim that is NOT of class dim.

[R] problem with creating a netcdf file under script sh

2009-04-07 Thread tuatu
Hi everyone, I try to make a netcdf file which disposes a difference between 2 variables of 2netcdf files same dimension When I programmed under R, everything is ok but when I put the code under EOF of a sh script, an error occurs: "Error, passed variable has a dim that is NOT of class dim.ncdf!".