DefaultStorageOptions: Default location to save data

ds.default.locationR Documentation

Default location to save data

Description

The following waterfall is used to lookup the default location: 1. options 2. environment 3. default option

Good practice is not to store this setting inside the script files. Add options(RTSDATA_DB='mongodb://localhost') line to the .Rprofile to use 'mongodb://localhost' database.

Usage

ds.default.location()

ds.default.database()

Details

Good practice is not to store this setting inside the script files. Add options(RTSDATA_FOLDER='C:/Data') line to the .Rprofile to use 'C:/Data' folder.

Value

default location to save data

default database to save data

Examples

	# Default location to save data
	ds.default.location()


rtsdata documentation built on Sept. 25, 2023, 9:06 a.m.