[R-sig-Geo] (no subject)

Pascal Oettli kridox at ymail.com
Tue Jan 29 11:19:22 CET 2013


Hello,

Maybe the problem is the space in "Ledile emachines" and "SDM course".

Try to put your files directly in "C:\", to see whether it solves the 
problem.

HTH
Pascal


Le 29/01/2013 18:45, Ledile Mankga a écrit :
> Dear list members
>
> I am having a problem with reading a shapefile, please have a look at the
> problem below:
>
> koppen <- readOGR("GIS/Koppen_Geiger/koppen.shp", layer="koppen")
> Error in ogrInfo(dsn = dsn, layer = layer, encoding = encoding, use_iconv =
> use_iconv) :
>    Cannot open file
>
> then I tried this again,
>
>> koppen <- readOGR(dsn="C:\\Users\\Ledile
> emachines\\Desktop\\Modelling_species _distribution\\SDM
> course\\GIS\\Koppen_Geiger\\koppen.shp", layer="koppen")
> Error in file(paste(dsn, .Platform$file.sep, layer, ".dbf", sep = ""),  :
>    cannot open the connection
> In addition: Warning message:
> In file(paste(dsn, .Platform$file.sep, layer, ".dbf", sep = ""),  :
>    cannot open file 'C:\Users\Ledile emachines\Desktop\Modelling_species
> _distribution\SDM course\GIS\Koppen_Geiger\koppen.shp/koppen.dbf': No such
> file or directory
>
>
>



More information about the R-sig-Geo mailing list