Learn R Programming

rtsdata (version 0.1.4)

ds.default.location: 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()

Arguments

Value

default location to save data

default database to save data

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.

Examples

Run this code
	# Default location to save data
	ds.default.location()

Run the code above in your browser using DataLab