Re: [R] troubles with foreign:read.dbf

2019-04-20 Thread Patrick Giraudoux
Ashes of my head and all those sorts of things... If I was a totally a newbie in R, I could claim for some sort of excuse, but it is definitely not the case, even. Thanks ! Patrick Le 20/04/2019 à 19:13, Eric Berger a écrit : > You seem to have a typo. > In the case that works your filename is

Re: [R] troubles with foreign:read.dbf

2019-04-20 Thread Eric Berger
You seem to have a typo. In the case that works your filename is "Mailles_2011a.dbf" but in the case that fails your filename is "Mailles_2011a.shp" (different extensions) HTH, Eric On Sat, Apr 20, 2019 at 8:00 PM Patrick Giraudoux < patrick.giraud...@univ-fcomte.fr> wrote: > Dear listers, > >

[R] troubles with foreign:read.dbf

2019-04-20 Thread Patrick Giraudoux
Dear listers, I am using the package foreign function read.dbf and meet the following issue: i<-"Mailles_2011a.dbf" dbf<-read.dbf(i) works well BUT if I have a vector such as files <- c("Mailles_2011a.shp", "Mailles_2011p.shp", "Mailles_2012a.shp", "Mailles_2012p.shp", "Mailles_2013a.shp",