[R-sig-Geo] Help needed with spplot

Thomas Adams Thomas.Adams at noaa.gov
Tue Apr 13 21:43:34 CEST 2010


All:

I'm using GRASS 6.4 with R 2.9.2 and sp/spgrass6. When plotting a vector 
file, read in from GRASS, using spplot, the drawing takes many minutes 
to complete. Apart from the fact that the vector file is probably more 
detailed than I need, I know time is spent drawing off-screen. I tried 
specifying xlim & ylim, but, of course, this just zooms into the area 
I'm mapping, and does not solve my underlying problem.

I also tried using pruneMap(), but this did not seem to make any 
difference in the length of time before my R prompt returned. By 
contrast, GRASS re-draws very fast, within a few seconds instead of ~5 
minutes. I want to use spplot to draw an array of maps (21), so 1+ hours 
will not work for what I am doing.

Any thoughts how I might speed-up the process?

Regards,
Tom

-- 
Thomas E Adams
National Weather Service
Ohio River Forecast Center
1901 South State Route 134
Wilmington, OH 45177

EMAIL:	thomas.adams at noaa.gov

VOICE:	937-383-0528
FAX:	937-383-0033



More information about the R-sig-Geo mailing list