Hi Jim, thanks for your comments:

  1. The library name is geodata, it is on CRAN. You should be able to install it with
    install.packages("geodata").

  2. The “mapslib” folder is a working folder on my computer where I stored data to avoid re-downloading files. You probably don’t have it, so you can use a custom folder as (some examples):

mydir <- "." # Data downloaded on your working folder, see getwd()

Or

# Temporary folder
mydir <- tempdir() 

Hope this helps.

GitHub-flavored Markdown & a sane subset of HTML is supported.