Message-ID: <5107A22A.3000202@ymail.com>
Date: 2013-01-29T10:19:22Z
From: Pascal Oettli
Subject: (no subject)
In-Reply-To: <CANbetH1vTmY=Yj7pqjU+geLDoSwQSaSDgFrT3b3gpxtX_Cspdg@mail.gmail.com>
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
>
>
>