[R-sig-Geo] readVECT6 error in spgrass6 (CVS version)

William McCoy wdmccoy at geo.umass.edu
Mon Apr 20 22:07:07 CEST 2009

I am trying to duplicate the example of T. Hengl given in his message of 
  2 Apr 2009 regarding "Running analysis on DEMs using GRASS (from R?)". 
  I have retrieved the latest CVS version (as of last night) of spgrass6 
(v. 0.6-5).  I am running on a 32-bit Intel Fedora 10 system.

Everything seems to work up until the point that I try to import the 
streamt vector file into R:

 > streamt <- readVECT6("streamt")
Error in readOGR(dsn, layer = "1", verbose = !ignore.stderr, pointDropZ 
= pointDropZ) :
   unused argument(s) (pointDropZ = FALSE)

Apparently readOGR has no "pointDropZ" argument and the rgdal 
documentation seems to confirm this.  Is this a bug in this CVS version 
of spgrass6?

Here is my sessionInfo():

 > sessionInfo()
R version 2.8.1 (2008-12-22)


attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] spgrass6_0.6-5  XML_2.3-0       rgdal_0.6-7     maptools_0.7-22
[5] sp_0.9-34       foreign_0.8-34

loaded via a namespace (and not attached):
[1] grid_2.8.1      lattice_0.17-22 tools_2.8.1

William D. McCoy
University of Massachusetts
Amherst, MA 01003

More information about the R-sig-Geo mailing list