powered by
as_file
Converts an ordinary character string into a filename understandable by drake. In other words, as_file(x) just wraps single quotes around x.
as_file(x)
x
character string to be turned into a filename understandable by drake (i.e., a string with literal single quotes on both ends).
a single-quoted character string: i.e., a filename understandable by drake.
# NOT RUN { as_file("my_file.rds") # }
Run the code above in your browser using DataLab