powered by
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 an Object
Other Characters: asc, chr, tnirp
asc
chr
tnirp
# NOT RUN { d(c(A=10, B=20)) dput(c(A=10, B=20)) # }
Run the code above in your browser using DataLab