Learn R Programming

adapr (version 1.0.2)

guess.write.fcn: Return function for writing common file types

Description

Return function for writing common file types

Usage

guess.write.fcn(filename)

Arguments

filename

file to be written

Value

function for writing file

Details

Uses the file suffix to return write.csv, png, pdf, save

Examples

Run this code
# NOT RUN {
 identical(utils::write.csv,guess.write.fcn("data.csv"))
# }

Run the code above in your browser using DataLab