[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 16:33:52 CET 2012
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
www.indracompany.com<http://www.indracompany.com>
[cid:image001.jpg at 01CDD94F.5D93BF20]
________________________________
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/53c37615/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/53c37615/attachment.jpg>
More information about the R-sig-Geo
mailing list