set_default_cachedir: Set/Get the Default Tile Cache Location

Description Usage Arguments Value Examples

View source: R/cachedir.R

Description

The default tile cache location is the "rosm.cache" folder in the current working directory, but for a variety of reasons it may be desirable to use one cache directory for all calls in a script. This must be called every time the namespace is loaded.

Usage

1
2
3

Arguments

cachedir

A path to use as the cache directory (relative to the working directory). Use NULL to reset to the default.

Value

The previous cache directory, invisibly.

Examples

1
2
3

paleolimbot/rosm documentation built on July 23, 2019, 7:35 a.m.