wcsv: sensible defaults for 'write.table'

View source: R/wcsv.R

wcsvR Documentation

sensible defaults for write.table

Description

sensible defaults for write.table

Usage

wcsv(..., sep = ",", row.names = FALSE)

Arguments

...

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.

Details

please don't use write_csv or any of that other nonesense, it breaks everyone's code...

See Also

Other sensible csv functions: rcsv()

Examples

# 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)

williamcioffi/sattagutils documentation built on June 3, 2022, 10:21 a.m.