Skip to contents

Provides the download location for download_ramlegacy in an OS independent manner. This is also the location from where load_ramlegacy loads the database from.

Usage

ram_dir(vers = NULL)

Arguments

vers

character, version number of the database. As of writing this package, the available versions are "1.0", "2.0", "2.5", "3.0", "4.3","4.40", "4.41", and "4.44". If version is not specified the ram_dir() returns the path to the rappdirs top-level directory which stores all the version subdirectories.

See also

Other ramlegacy functions: download_ramlegacy, load_ramlegacy

Examples

# return the path to the rappdirs directory where
# all version subdirectories are stored
ram_dir()
#> [1] "/tmp/RtmpuL05hI/file49a5d6247a5"

# Returns the path of the subdirectory where v4.3
# of the database is downloaded to and read from.
ram_dir(vers = "4.3")
#> [1] "/tmp/RtmpuL05hI/file49a5d6247a5"