[R-sig-Geo] readOGR ceased working since updating to R 2.15.2

Roger Bivand Roger.Bivand at nhh.no
Thu Dec 13 21:15:37 CET 2012


On Thu, 13 Dec 2012, Alonso Nanclares, Jesús Alberto wrote:

> Solved.

You might care to report what the problem was? My guess is that you 
installed rgdal from the current R-forge development version, because the 
specific line you quote was present between revisions 404 (Tue Dec 11 
20:36:52) and 408 (Thu Dec 13 11:50:55). When reporting problems, always 
provide the output of sessionInfo(), and for rgdal, also the complete 
package startup message (which now includes the SVN revision). When 
installing development versions, do wait substantial time to see whether 
later commits do not remove the problem.

Roger

>
> Thanks anyways.
>
> Jesús Alberto Alonso Nanclares
> Consultor Junior
> Centro de Competencia Business Analytics
>
> Avda de Bruselas, 35
> 28108 Alcobendas (Madrid)
> España
>
> T +34 914 805 863
> jaalonson at indra.es
> www.indracompany.com<http://www.indracompany.com>
>
> [cid:image001.jpg at 01CDD956.1899CD40]
>
> De: Alonso Nanclares, Jesús Alberto
> Enviado el: jueves, 13 de diciembre de 2012 16:34
> Para: 'r-sig-geo at r-project.org'
> Asunto: readOGR ceased working since updating to R 2.15.2
>
> Hello dear list,
>
> I have a problem with the function readOGR since I installed the last version of R, 2.15.2 and, consequently, had to install rgdal package again. I am using a script I ran just a moment before the update, when it worked perfectly, in which my intention is to read a shapefile. The command looks like this:
>
> secciones_espanya <- readOGR("INE_SPAIN.shp", "INE_SPAIN")
>
> And when I execute it I am showed this error:
>
> Error en file(paste(dsn, .Platform$file.sep, layer, ".dbf", sep = ""),  :
>  no se puede abrir la conexión
> Además: Mensajes de aviso perdidos
> In file(paste(dsn, .Platform$file.sep, layer, ".dbf", sep = ""),  :
>  no fue posible abrir el archivo 'INE_SPAIN.shp/INE_SPAIN.dbf': No such file or directory
>
> saying the connection could not be open.
>
> I have tried with other .shp of my PC that could also be read without problems before the update with the same results.
>
> Does anyone know why this is happening?
>
> Thanks in advance and greetings,
>
> Jesús Alberto Alonso Nanclares
> Consultor Junior
> Centro de Competencia Business Analytics
>
> Avda de Bruselas, 35
> 28108 Alcobendas (Madrid)
> España
>
> T +34 914 805 863
> jaalonson at indra.es<mailto:jaalonson at indra.es>
> www.indracompany.com<http://www.indracompany.com>
>
> [cid:image001.jpg at 01CDD956.1899CD40]
>
>
> ________________________________
> Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene información de carácter confidencial exclusivamente dirigida a su destinatario o destinatarios. Si no es vd. el destinatario indicado, queda notificado que la lectura, utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente. En el caso de haber recibido este correo electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante reenvío a la dirección electrónica del remitente.
> Evite imprimir este mensaje si no es estrictamente necesario.
>
> This email and any file attached to it (when applicable) contain(s) confidential information that is exclusively addressed to its recipient(s). If you are not the indicated recipient, you are informed that reading, using, disseminating and/or copying it without authorisation is forbidden in accordance with the legislation in effect. If you have received this email by mistake, please immediately notify the sender of the situation by resending it to their email address.
> Avoid printing this message if it is not absolutely necessary.
>

-- 
Roger Bivand
Department of Economics, NHH Norwegian School of Economics,
Helleveien 30, N-5045 Bergen, Norway.
voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no


More information about the R-sig-Geo mailing list