[R] spatialpixelsdataframe
Dave Depew
ddepew at sciborg.uwaterloo.ca
Fri Apr 18 13:57:05 CEST 2008
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 at 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
>
More information about the R-help
mailing list