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

Alonso Nanclares, Jesús Alberto jaalonson at indra.es
Thu Dec 13 17:20:06 CET 2012


Solved.

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20121213/21cdb275/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 1907 bytes
Desc: image001.jpg
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20121213/21cdb275/attachment.jpg>


More information about the R-sig-Geo mailing list