data_store: Get and Set the Location of the Data Store

Usage Arguments Value Examples

Usage

1
data_store(path = NULL)

Arguments

path

an optional character string giving a new file path in which to store the data

Value

a character string giving the current location of the data store if path was specified, this will be returned invisibly

Examples

1
2
3
4
5
6
7
# list the current data store location
data_store()
old_store <- data_store()

# set it to a new value
data_store("~/a_new_path")
data_store()

gndaskalova/grabr documentation built on May 29, 2019, 11:39 a.m.