Skip to contents

Create Directory if it does not exist

Usage

createDirectory(dir.to.create, dbg = TRUE, confirm = FALSE)

Arguments

dir.to.create

character string representing the path to the directory to be created

dbg

if TRUE messages about created or found directories are shown

confirm

if TRUE (the default is FALSE!) the user is asked to confirm the creation of a directory

Value

created path or NULL if the path could not be created