Convert an arbitrary R object to a string
coerce_to_string(x, coerce)
object
How should non-character arguments be coerced to character strings?
- the given object x
must already be a character string
- performs the matching after first calling
as.character(x)
- performs the matching against the default
print(x)
output
- performs the matching after first calling
deparse1(x)
- performs the matching on the output of calling
str(x)