Learn R Programming

osmose (version 3.3.4)

write.osmose: Write data in osmose format

Description

Write an array or dataframe in the Osmose format. The separator is ";", there are no quotes and a blank column is added for the row names column.

Usage

write.osmose(x, file)

write_osmose( x, file, sep = ",", col.names = NA, quote = FALSE, row.names = TRUE, ... )

Arguments

x

Object to be written (table or data frame)

file

Output file

sep

The field separator string. Values within each row of x are separated by this string.

col.names

either a logical value indicating whether the column names of x are to be written along with x, or a character vector of column names to be written. See the section on <U+2018>CSV files<U+2019> for the meaning of col.names = NA.

quote

A logical value (TRUE or FALSE) or a numeric vector.

row.names

either a logical value indicating whether the row names of x are to be written along with x, or a character vector of row names to be written.

...

Extra arguments passed to write.table funtion.