setpaths: Set paths

Description Usage Arguments Details Value

View source: R/setpaths.R

Description

Set paths for easy access

Usage

1
setpaths(workspace = NULL, otherPaths = NULL, recurse = NA)

Arguments

workspace

Path to workspace

otherPaths

named list of paths outside of workspace to include

recurse

list of directories to get recursively

Details

This function sets paths based on the workspace and working directory. workspace is the path to the base workspace and the working directory is project specific. By default, workspace toplevel directories are returned. If recurse is given, return listed directories recursively.

Value

A list named paths is assigned to the global environment.


duanxd1/gfuns documentation built on March 7, 2020, 12:46 a.m.