write_data: A wrapper for data.table::fwrite to write file to drive.

View source: R/write_data.R

write_dataR Documentation

A wrapper for data.table::fwrite to write file to drive.

Description

A wrapper for data.table::fwrite to write file to drive.

Usage

write_data(data, filename)

Arguments

data

Data to write. If class of data is data.frame or data.table, then write_data will fwrite. If class of data is a list, write_data will assume that data is a phiplist and write the second through final elements as separate files.

filename

Filename or filenames to write.


brandonsie/phipmake documentation built on March 15, 2023, 3:24 p.m.