I am trying to plot a shapefile on top of a raster using the command
readOGR. My current code is:
CEZ <- readOGR(".", "Shapefile/CEZ1")
This is followed by the error code
Error in ogrInfo(dsn = dsn, layer = layer, encoding = encoding, use_iconv = use_iconv, : Cannot open data source
I am unsure what this code means - Is it a problem with the shapefile, the command or the way I have structured the path?