write_osmose: Write data in osmose format

Description Usage Arguments

View source: R/osmose-main.R

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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 ‘CSV files’ 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.


osmose documentation built on April 28, 2020, 5:06 p.m.