By default, the download directory is equal to tempdir()
. You can set a
persistent download directory by adding the following command to your
.Renviron
file (e.g. with edit_r_environ
function in usethis
package):
OSMEXT_DOWNLOAD_DIRECTORY=/path/to/osm/data
.