guess.read.fcn: Return function for reading common file types

Description Usage Arguments Details Value Examples

Description

Return function for reading common file types

Usage

1
guess.read.fcn(filename)

Arguments

filename

for file to be read

Details

Uses the file suffix to return csv, read.delim, read.xls

Value

function for reading

Examples

1
2
3
4
## Not run: 
 identical(utils::read.csv,guess.read.fcn("data.csv"))

## End(Not run)  

adapr documentation built on May 1, 2019, 7:05 p.m.