write_dataframe_to_file: Write data frame to file.

View source: R/file_helper.R

write_dataframe_to_fileR Documentation

Write data frame to file.

Description

Writes a data frame to file.

Usage

write_dataframe_to_file(
  data = NULL,
  outfile = NULL,
  outdir = NULL,
  prefix = NULL,
  suffix = NULL,
  ignore_empty = FALSE,
  ...
)

Arguments

data

a data frame.

outfile

the name of the output file.

outdir

the name of the output directory (defaults to current directory).

prefix

a prefix to be added to the file name.

suffix

a suffix to be added to the file name (before file extension).

ignore_empty

whether to ignore empty file check.

...

parameters for write.table

Value

The class of file.


cancerit/RCRISPR documentation built on April 26, 2023, 10:12 p.m.