Thanks Paul, Will keep that in mind for my next query.... :-) Paul Hiemstra wrote: > Dave Depew wrote: >> I have a spatialpixelsdataframe containing bathymetry data. Is it >> possible to save this as something similar to the meuse.grid so it >> can be loaded without having to run the spatial interpolation each >> time the script is called? >> I don't see a straightforward method in the sp documentation. >> >> ______________________________________________ >> R-help@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide >> http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. >> > Hi Dave, > > You can save the SpatialPixelsDataFrame to a file using: > > save(SPDF_object, file ="test.rda") > > And reload it with: > > load(test.rda) > > This is not specific to the sp-package. These kinds of questions are > better to post to the r-sig-geo mailing list. > > Paul >
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.