with_dir: Working directory

Description Usage Arguments Value See Also

Description

Temorarily change the current working directory.

Usage

1
with_dir(new, code)

Arguments

new

[character(1)]
New working directory

code

[any]
Code to execute in the temporary environment

Value

[any]
The results of the evaluation of the code argument.

See Also

withr for examples

setwd


withr documentation built on May 29, 2017, 10:39 a.m.

Search within the withr package
Search all R packages, documentation and source code