set_fext {filenamer} | R Documentation |
This function sets the extension in a file name.
set_fext(x, ext, all)
x |
a |
ext |
new file extension |
all |
replace the entire extension |
modified object of the original type
x <- "data_norm_2011-01-03.txt"
print(set_fext(x, "csv"))