Write.csv: Write CSV file with different defaults

Description Usage Arguments Examples

View source: R/file_functions.R

Description

Write a CSV file using write.csv (see write.table with different defaults. Specifically, NA values are empty, row names are excluded and the *.CSV file extention is added if not found in the file name. The file name can default to a name derived from the name of the first argument.

Usage

1

Arguments

x

Matrix or data.frame

file

File name, perhaps without .CSV extention. Defaults to name of first argument.

Examples

1
2
3
4
## Not run: 
Write.csv(iris)

## End(Not run)

stevetnz/stevesRfunctions documentation built on May 28, 2019, 8:21 a.m.