export: Export data from R

exportR Documentation

Export data from R

Description

Export data from R

Usage

export(object, con, ...)

## S4 method for signature 'Cellosaurus,character'
export(object, con, ...)

Arguments

object

Object.

con

character(1) or connection. Data connection. Use character(1) to represent a file path.

...

Passthrough arguments to DFrame method.

Value

Invisible character or list of file paths.

Note

Updated 2023-09-22.

See Also

  • BiocIO::export.

  • rio::export.

  • write.table.

  • writeLines.

Examples

data(cello)

## Cellosaurus ====
object <- cello
tempdir <- AcidBase::tempdir2()
con <- file.path(tempdir, "cello.csv")
x <- export(object = object, con = con)
print(x)
AcidBase::unlink2(tempdir)

acidgenomics/r-cellosaurus documentation built on March 12, 2024, 2:37 p.m.