d | R Documentation |
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 "
)
x |
A named vector object |
file |
either a character string naming a file or a connection. "" indicates output to the console. |
control |
character vector indicating deparsing options. See .deparseOpts for their description. |
collapse |
Characters used to separate values. |
d Write an ASCII Representation of a vector object
A string
Marc Girondot marc.girondot@gmail.com
Other Characters:
asc()
,
char()
,
tnirp()
d(c(A=10, B=20))
dput(c(A=10, B=20))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.