setwdNew: Switches to a working directory

View source: R/util.R

setwdNewR Documentation

Switches to a working directory

Description

If the directory does not exist, the function will create it recursively.

Usage

setwdNew(dir)

Arguments

dir

a character specifying the desired directory.

Author(s)

Rehrauer, Hubert

Schmid, Peter

Examples

cd = getwd()
setwdNew("newDirectory")
setwd(cd)

uzh/ezRun documentation built on April 19, 2024, 8:25 a.m.