Description Usage Arguments Value Author(s) Examples
Write a list of vectors out to a file. Each vector will appear on its own line, with
each element within that vector separated by sep
.
1 2 |
text |
a list of vectors |
con |
a connection, or path to a filename |
sep |
the seperator between elements |
eol |
the end of line character |
useBytes |
logical: see Details of |
names |
logical: if |
none. write a file.
Mark Cowley, 2011-08-05
1 2 3 4 5 | x <- list(A=letters, B=LETTERS, C=1:10)
f <- tempfile()
writeLines.list(x, f)
f2 <- tempfile()
writeLines.list(x, f2, names=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.