setupDataPath: Interactively allows the user to set up the default root path

Description Usage Arguments Value See Also

View source: R/datapath.R

Description

Interactively allows the user to set up the default root path where data is cached

Usage

1
setupDataPath(newDataPath = tempdir(), ...)

Arguments

newDataPath

Default root path to set

...

Not used.

Value

character string Returns (invisibly) the root path, or @NULL if running a non-interactive session.

See Also

Internally, @see "setNlDataPath" is used to set the root path. The "base::interactive" function is used to test whether R is running interactively or not.


Rnightlights documentation built on Aug. 29, 2019, 5:02 p.m.