[R-sig-Geo] problem with NY8 <- readOGR(".", "NY8_utm18")

Pascal Oettli kridox at ymail.com
Tue Nov 25 08:49:43 CET 2014


Masha,

Are you running the command in the correct directory? You should
replace "." by the path to your file.

Regards,
Pascal

On Tue, Nov 25, 2014 at 2:09 PM, Masha Pautrel <masha.pautrel at gmail.com> wrote:
> Dear all,
>
> I try to use NY8 data set, but I can't open the file.
>
> Here the errors message
>
>> library(sp)
>> library(rgdal)
>> NY8 <- readOGR(".", "NY8_utm18")
> Erreur dans ogrInfo(dsn = dsn, layer = layer, encoding = encoding, use_iconv
> = use_iconv,  :
>   Cannot open file
>> cities <- readOGR(".", "NY8cities")
> Erreur dans ogrInfo(dsn = dsn, layer = layer, encoding = encoding, use_iconv
> = use_iconv,  :
>   Cannot open file
>> TCE <- readOGR(".", "TCE")
> Erreur dans ogrInfo(dsn = dsn, layer = layer, encoding = encoding, use_iconv
> = use_iconv,  :
>   Cannot open file
>
>
> Thank you for yours help
>
> Sincerly
> Masha Pautrel
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo



-- 
Pascal Oettli
Project Scientist
JAMSTEC
Yokohama, Japan



More information about the R-sig-Geo mailing list