Skip to contents

This function creates the output directory if it doesn't exist and exports the data frame to a tab-delimited file.

Usage

export_output(x, file = output)

Arguments

x

data frame to be exported

file

path to the output file

Value

The path of the exported file

Examples

if (FALSE) { # \dontrun{
export_output(x = data.frame(), file = "output/file.tsv")
unlink("output", recursive = TRUE)
} # }