R: write data to ods file

write_ods {readODS} | R Documentation

## write data to ods file

### Description

Function to write a single data.frame to an ods file.

### Usage

    write_ods(
      x,
      path,
      sheet = "Sheet1",
      append = FALSE,
      update = FALSE,
      row_names = FALSE,
      col_names = TRUE,
      verbose = FALSE,
      overwrite = NULL
    )

### Arguments

`x` | a data.frame
`path` | Path to the ods file to write
`sheet` | Name of the sheet
`append` | logical, TRUE indicates that x should be appended to the existing file (path) as a new sheet. If a sheet with the same sheet_name exists, an exception is thrown. See update.
`update` | logical, TRUE indicates that the sheet with sheet_name in the existing file (path) should be updated with the content of x. If a sheet with sheet_name does not exist, an exception is thrown.
`row_names` | logical, TRUE indicates that row names of x are to be included in the sheet
`col_names` | logical, TRUE indicates that column names of x are to be included in the sheet
`verbose` | logical, if messages should be displayed
`overwrite` | logical, depreciated.

### Value

the value of `path` invisibly.

### Author(s)

Thomas J. Leeper thosjleeper@gmail.com, John Foster john.x.foster@nab.com.au, Chung-hong Chan chainsawtiney@gmail.com

[Package readODS version 1.7.0 Index]