as.character.filename {filenamer} | R Documentation |
This function coerces a filename
into a character.
## S3 method for class 'filename'
as.character(x, tag.char = NULL, simplify = FALSE, ...)
x |
a |
tag.char |
character to delimit tags, defaults to |
simplify |
if |
... |
unused arguments |
a character
vector
x <- "data_post_2011-01-02.txt"
fn <- as.filename(x)
print(as.character(fn))