Have tried the readOGR function but it returns an error message ’ Error in ogrInfo(dsn = dsn, layer = layer, encoding = encoding, use_iconv = use_iconv, : Cannot open file ’
county <- readOGR(dsn = “shapes”, layer = “parish_region”) ### my code
First off: R is not specifically intended for mapping applications, and while it can do a great job of visualising data in space, there may be tools that are easier to use for beginners. With that in mind, check out the recently updated Introduction to visualising spatial data in R.
To your question on formats, if rgdal doesn’t read your file then you will have to convert it. As the tutorial recommends, you should download QGIS, and export to a shapefile first.