path: Set path

Description Usage Arguments Author(s) Examples

Description

Set path

Usage

1
path(parent = FALSE, subfolder = FALSE, doc)

Arguments

parent

(optional) The project name. This becomes the top level folder for your project.

sub

(optional) Sub folders to within path to file. If more than one subfolder, user can supply sub folders as a list c("folder1", "folder2"). Subfolders must listed be in the correct order from parent to file.

file

Specify the file name

Author(s)

Matthew Buras, Michael Golafshar

Examples

1
2
path(mydata.csv)
df <- read.csv(path(ISHLT, c(data, subdata, subsubdata), mydata.csv))

mgolafshar/kickstartR documentation built on May 12, 2019, 7:35 a.m.