with_wd: temporarily evaluate an expression in a directory

Description Usage Arguments Details

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/


dgrtwo/rgallery documentation built on May 15, 2019, 7:28 a.m.