[R] export array

2011-12-02 Thread Ana
What is the best way to export 1 array?? the array i am trying to export has 3 dimensions (long,lat,observations) how can i export each dimension independently? e.g. one csv file with only the long __ R-help@r-project.org mailing list

Re: [R] export array

2011-12-02 Thread Jim Holtman
What do you want to do with it after you export; that will probably define what the data format would look like. Why would you want each dimension separately? How would you correlate them later? Is it really 3 dimensions, or is your data just three columns where each row is long, lat and

Re: [R] export array

2011-12-02 Thread Ana
Hi! I would just like to have a way to check if my functions are working ok. If the subset I am extracting is ok (both coordinates and dataset). The files are nectdf format that I import into R (I only import a small geographic subset). Is there another software that will allow me to do this

Re: [R] export array

2011-12-02 Thread Jim Holtman
Depends on how you want to 'check'. I usually use 'View' to see if the data looks OK. You could write some more code to check the 'reasonableness' of the data. It sounds like you have to learn some ways of 'debugging' your code. Checking your data depends on what the criteria is for