Learn R Programming

drake (version 4.2.0)

as_file: Function as_file

Description

Converts an ordinary character string into a filename understandable by drake. In other words, as_file(x) just wraps single quotes around x.

Usage

as_file(x)

Arguments

x

character string to be turned into a filename understandable by drake (i.e., a string with literal single quotes on both ends).

Value

a single-quoted character string: i.e., a filename understandable by drake.

Examples

Run this code
# NOT RUN {
as_file("my_file.rds")
# }

Run the code above in your browser using DataLab