Learn R Programming

TAF (version 4.2.0)

taf.data.path: Construct Boot Data Path

Description

Construct a relative path to data files in the boot data folder, regardless of whether the current working directory is the TAF root, the boot folder, or a subfolder inside boot.

Usage

taf.data.path(..., fsep = .Platform$file.sep)

Value

Relative path, or a vector of paths.

Arguments

...

filenames inside boot/data.

fsep

path separator to use instead of the default forward slash.

See Also

file.path is the underlying function used to construct the path.

taf.boot.path constructs the path to the boot folder.

TAF-package gives an overview of the package.

Examples

Run this code
taf.data.path()
taf.data.path("example.dat")

Run the code above in your browser using DataLab