loadFlex: Loads a single R object from file, more flexible than...

Description Usage Arguments Value Examples

Description

Loads a single R object from file, more flexible than Load.branch or base::load

Usage

1
loadFlex(file, read.fcn = readRDS, ...)

Arguments

file

contains R object

read.fcn

function to read the file, default readRDS

...

arguments passed to read.fcn

Value

object for file that was read

Examples

1
2
3
4
## Not run: 
processed <- load.flex("read_data.R/process_data.RData")

## End(Not run) 

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