Working directory

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


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.