This is a custom function for creating a directory.

mkdir(dirname, path = NULL)

Arguments

dirname

The name of the directory to create

path

The path to create the directory in.

Value

Returns the absolute path of the directory.

Details

This function will create a directory only if it doesn't exist and then return the path of that directory.