View source: R/read_datasets.R
write_datasets | R Documentation |
Write data sets to a file in the same format as read_datasets()
.
write_datasets(x, file = "")
x |
The data set to write. The last column must be the set number. |
file |
either a character string naming a file or a connection open for
writing. |
write.table
, read_datasets()
x <- read_datasets(text="1 2\n3 4\n\n5 6\n7 8\n", col_names=c("obj1", "obj2"))
write_datasets(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.