Skip to content
Prev 8021 / 29559 Next

Help needed with spplot

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