| as.filename {filenamer} | R Documentation | 
Coerce to a filename
Description
This function coerces an object into a filename, if possible.
Usage
as.filename(x, ...)
## S3 method for class 'filename'
as.filename(x, ...)
## S3 method for class 'character'
as.filename(x, tag.char = NULL, ...)
Arguments
| x | a  | 
| ... | other arguments | 
| tag.char | character to delimit tags, defaults to  | 
Value
a filename object
Examples
fn <- as.filename("data_raw_2011-01-01.txt")
str(fn)
[Package filenamer version 0.2.4 Index]