Learn R Programming

kutils (version 0.93)

smartSave: save file after deducing type from suffix

Description

just a convenience for this work, not general purpose

Usage

smartSave(obj, file, outdir)

Arguments

obj
an object
file
file name. must end in "csv", "xlsx" or "rds"
outdir
directory path