userData
returns the path to a local directory
where package-related user data can be stored. Note that
a directory is always created if necessary (see
details).
userData(..., create = TRUE, package = "base")
file.path
to be appended to the main path.If in interactive mode, the user is asked if the directory can be created in his home directory, otherwise, or if the user does not allow the creation in his home, the directory is created in the current R session's temporary directory.
tempdir