checkDir: checkDir

Description Usage Arguments Details Value Author(s)

View source: R/U00.checkDir.R

Description

checkDir creates a directory if it doesn't exist

Usage

1
checkDir(directory)

Arguments

directory

- the directory to be checked

Details

This function takes a directory as a parameter, checks for its existence. if the directory doesn't exist, it is created and the function returns a zero value. Otherwise, the number of files in the directory is returned.

Value

number of files in the directory

Author(s)

John James, j2sdatalab@gmail.com


DataScienceSalon/predictifyR.3.0 documentation built on May 23, 2019, 8:25 p.m.