Learn R Programming

tinyProject (version 0.6.1)

prPath: Get the full path of a file

Description

The function returns the absolute path of a file contained in the current project.

Usage

prPath(x)

Arguments

x

Relative path of a file contained in the project.

Value

Absolute path of the file.

Examples

Run this code
# NOT RUN {
projectPath <- file.path(tempdir(), "test")
prInit(projectPath)

prPath("data")

# }

Run the code above in your browser using DataLab