Learn R Programming

neonstore (version 0.5.1)

neon_db_dir: Default directory for persistent NEON database

Description

Use neon_db_dir() to view or access the currently active database directory. By default, this uses the appropriate application directory for your operating system, see tools::R_user_dir(). This location can be overridden by setting the environmental variable NEONSTORE_DB.

Usage

neon_db_dir()

Arguments

Value

the active neonstore directory.

Examples

Run this code

neon_db_dir()

## Override with an environmental variable:
Sys.setenv(NEONSTORE_DB = tempdir())
neon_db_dir()
## Unset
Sys.unsetenv("NEONSTORE_DB")

Run the code above in your browser using DataLab