Last chance! 50% off unlimited learning
Sale ends in
Writes an ASCII text representation of an R object. It can be used as a replacement of dput() for named vectors. The controls "keepNA", "keepInteger" and "showAttributes" are utilized for named vectors.
d(
x,
file = "",
control = c("keepNA", "keepInteger", "showAttributes"),
collapse = ", \n "
)
A named vector object
either a character string naming a file or a connection. "" indicates output to the console.
character vector indicating deparsing options. See .deparseOpts for their description.
Characters used to separate values.
A string
d Write an ASCII Representation of a vector object
# NOT RUN {
d(c(A=10, B=20))
dput(c(A=10, B=20))
# }
Run the code above in your browser using DataLab