Re: [R] vector file

2011-05-01 Thread Barry Rowlingson
On Sun, May 1, 2011 at 8:08 AM, azam jaafari wrote: > Dear All > > I want to import the vector file (   .shp) to R. I could import the file by > rgdal package before, by following: > > geology<-readOGR('C:/geology//saga/geo.geom','finalgeology') > > but now there is an error: > > Error in ogrInfo

[R] vector file

2011-05-01 Thread azam jaafari
Dear All   I want to import the vector file (   .shp) to R. I could import the file by rgdal package before, by following:   geology<-readOGR('C:/geology//saga/geo.geom','finalgeology')   but now there is an error:   Error in ogrInfo(dsn = dsn, layer = layer, input_field_name_encoding = input_fi