createDirectory: Create a directory.

View source: R/functions.R

createDirectoryR Documentation

Create a directory.

Usage

createDirectory(pathName, dirName)

Arguments

pathName
dirName

Examples

##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (pathName, dirName) 
{
    if (!dir.exists(file.path(pathName, dirName))) {
        dir.create(file.path(pathName, dirName), showWarnings = FALSE)
    }
  }

danielfhenrique789/profitmaximization documentation built on April 5, 2025, 4:05 p.m.