Learn R Programming

adapr (version 2.0.0)

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

Description

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

Usage

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

Run this code
# NOT RUN {
processed <- load.flex("read_data.R/process_data.RData")
# }

Run the code above in your browser using DataLab