Learn R Programming

simpleSetup (version 0.1.0)

set_valid_wd: Sets valid working directory from vector of possible directories

Description

Sets valid working directory from vector of possible directories

Usage

set_valid_wd(possible)

Arguments

possible
character vector of possible working directores

Details

Sets the working directory to the first valid directory from a list of possible directories.

Examples

Run this code
## Not run: 
# set_valid_wd(c('/examples/directory1', '/anotherExample/directory2'))
# ## End(Not run)

Run the code above in your browser using DataLab