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 June 14, 2025, 1:29 p.m.