dirDWD: directory management for rdwd

Description Usage Arguments Value Author(s) See Also Examples

View source: R/dirDWD.R

Description

Manage directories with useful messages in the rdwd package.

Usage

1
dirDWD(dir = "DWDdata", quiet = FALSE)

Arguments

dir

Char for dirDWD: writeable directory name. Created if not existent. DEFAULT: "DWDdata" at current getwd()

quiet

Logical: Suppress messages about creating dir? DEFAULT: FALSE

Value

dirDWD invisibly returns the prior working directory as per setwd.

Author(s)

Berry Boessenkool, [email protected], Oct 2016

See Also

dataDWD

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# see source code of dataDWD and metaDWD

## Not run:  ## folder creation + deletion
owd <- getwd(); owd
dirDWD("dummydummydummy")
getwd()
setwd(owd)
dirDWD("dummydummydummy")
setwd(owd)
unlink("dummydummydummy")

## End(Not run)

brry/rdwd documentation built on Aug. 19, 2018, 7:24 p.m.