with_wd: Temporarily evaluate an expression in a directory

Description Usage Arguments Details Author(s)

View source: R/utils.R

Description

Temporarily evaluate an expression in a directory, then set the directory back to the original.

Usage

1
with_wd(dir, expr)

Arguments

dir

a directory to perform an expression within

expr

expression to evaluate

Details

See here: http://plantarum.ca/code/setwd-part2/

Author(s)

Tyler Smith, contributed to regionReport by David Robinson https://github.com/dgrtwo


regionReport documentation built on May 31, 2017, 1:39 p.m.

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