Learn R Programming

Rnightlights (version 0.2.4)

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

Description

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

Usage

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.