wcsv | R Documentation |
write.table
sensible defaults for write.table
wcsv(..., sep = ",", row.names = FALSE)
... |
all the regular good stuff for finding files and whatnot. |
sep |
we're talking about comma seperated values here. |
row.names |
defaults to FALSE, because that's usually what i want. not when i'm printing a matrix or something though. but here for tables, yes this is what i want. |
please don't use write_csv or any of that other nonesense, it breaks everyone's code...
Other sensible csv functions:
rcsv()
# use it just like write.table but without the worry ## Not run: x <- data.frame(x1 = rnorm(10), x2 = rnorm(10)) wcsv(x, "file.csv") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.