chkfilename: Check the filename passed as an argument to be valid

Description Usage Arguments Details Value

Description

Check the filename passed as an argument to be valid

Usage

1
chkfilename(filename, expand = FALSE)

Arguments

filename

a charachter string showing an optional directory and a required filename.

expand

A Boolean varable. If assigns as TRUE, it will expand a path name, for example by replacing a leading tilde by the user's home directory (if defined on that platform)

Details

reqpar function gets a character string. Trim the string and make sure its not empty. In case the user has provided a full path, the path is checked to be existant.

Value

The output is a charachter string to save an output.


intensity.analysis documentation built on May 2, 2019, 2:51 p.m.