On 24/03/14 20:09, Frede Aakmann Tøgersen wrote: : > ## get ireland map as polygon, only for main island > ## map.poly not exported so use maps:::map.poly > ## use exact to leave out Achill Island and only get main island > ie.polygon <- maps:::map.poly("world", "Ireland", exact = TRUE, as.polygon = > TRUE)
Note it is not necessary to use the unexported map.poly() since fill=TRUE achieves the same thing: ie.polygon <- map("world", "Ireland", exact = TRUE, fill = TRUE, plot = FALSE) Ray Brownrigg maps maintainer ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.