Dear R users,


I'm trying to run the following example with data of Chile, but I didn't
find a EPSG code for this country which could be used in R.

data <http://inside-r.org/r-doc/utils/data>(meuse)
coordinates(meuse)<-~x+y proj4string(meuse) <- CRS('+init=epsg:28992')
# Line data
data <http://inside-r.org/r-doc/utils/data>(meuse.grid)
coordinates(meuse.grid)<-c <http://inside-r.org/r-doc/base/c>('x','y')
meuse.grid<-as <http://inside-r.org/r-doc/methods/as>(meuse.grid,
'SpatialPixelsDataFrame')
im<-as.image.SpatialGridDataFrame(meuse.grid['dist'])
cl<-ContourLines2SLDF(contourLines<http://inside-r.org/r-doc/grDevices/contourLines>
(im))
proj4string(cl) <- CRS('+init=epsg:28992')


I run the script:

make_EPSG("Chile")

but it gives the following error:

In file(file, open = "r") :
  cannot open file 'Chile': No such file or directory
Please, can anyone suggest me how to solve this problem?
Thank you very much,
Orietta

	[[alternative HTML version deleted]]

