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 Dec. 26, 2024, 9:53 a.m.