runInDirectory: Change Working Directory and Run Function

View source: R/system.R

runInDirectoryR Documentation

Change Working Directory and Run Function

Description

Change Working Directory and Run Function

Usage

runInDirectory(target.dir = tempdir(), FUN, ..., .dbg = FALSE)

Arguments

target.dir

target directory. Default: tempdir()

FUN

function to be invoked

...

arguments to be passed to function FUN

.dbg

if TRUE, debug messages on changing the directory are shown. Default: FALSE


KWB-R/kwb.utils documentation built on April 1, 2024, 7:12 a.m.