CSV.write {componentSkeleton}R Documentation

Write data frame or matrix to CSV file

Description

Write a data frame or matrix into a CSV file. The input object must have column names. If the input is a matrix, it must also have row names. Data frames should not have row names.

Usage

CSV.write(filename, csv, append = FALSE, first.cell = "RowName")

Arguments

filename

Target filename.

csv

Data frame or matrix.

append

If TRUE, don't erase existing file contents.

first.cell

Only used for matrix inputs. This is the value of the first cell in the output file.

Author(s)

Kristian Ovaska (kristian.ovaska@helsinki.fi)


[Package componentSkeleton version 2.0.1 Index]