R: Write the Data Portion of Object to a File

oce.write.table {oce} | R Documentation

## Write the Data Portion of Object to a File

### Description

The output has a line containing the names of the columns in `x$data`, each enclosed in double quotes. After that line are lines for the data themselves. The default is to separate data items by a single space character, but this can be altered by using a `sep` argument in the `...` list; see `utils::write.table()`.

### Usage

    oce.write.table(x, file = "", ...)

### Arguments

`x` | an oce object.
`file` | file name, as passed to `utils::write.table()`. Use `""` to get a listing in the terminal window.
`...` | optional arguments passed to `utils::write.table()`.

### Details

This function is little more than a thin wrapper around `utils::write.table()`, the only difference being that row names are omitted here, making for a file format that is more conventional in Oceanography.

### Value

The value returned by `utils::write.table()`.

### Author(s)

Dan Kelley

### See Also

'`utils::write.table()`, which does the actual work.

[Package oce version 1.7-2 Index]