neon_db_dir {neonstore}R Documentation

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()

Value

the active neonstore directory.

Examples


neon_db_dir()

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


[Package neonstore version 0.5.1 Index]