# current cache
getOption("mapmiscCachePath")
# set a new cache
myCache = file.path(tempdir(), 'myCache')
dir.create(myCache)
options(mapmiscCachePath = myCache)
getOption("mapmiscCachePath")
# create a persistent cache
# \donttest{
persistentCache(verbose=TRUE)
# }
getOption("mapmiscCachePath")
Run the code above in your browser using DataLab