load_rdata: 'load_rdata'

View source: R/load_rdata.R

load_rdataR Documentation

load_rdata

Description

Load processed data (.rda format) using a function that assigns it to a specific variable (so you don't have to guess what the loaded variable name is).

Usage

load_rdata(fileName)

Arguments

fileName

Name of the file to load.

Value

Data object.

Examples

tmp <- tempfile()
save(mtcars, file = tmp)
mtcars2 <- load_rdata(tmp)

sankaranlab/SCAVENGE documentation built on March 2, 2023, 2:17 a.m.