Learn R Programming

adapr (version 2.0.0)

AppLoadFlex: Loads a single R object from file for a R Shiny app

Description

Loads a single R object from file for a R Shiny app

Usage

AppLoadFlex(project.id = getProject(), path, file, read.fcn = readRDS, ...)

Arguments

project.id

project name from which to load file

path

directory that contains file to be loaded

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 <- AppLoadFlex("adaprTest","Results/read_data.R","cardata.RData")
# }

Run the code above in your browser using DataLab