load_rdata
R/load_rdata.R
load_rdata.Rd
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).
load_rdata(fileName)
Name of the file to load.
Data object.
tmp <- tempfile() save(mtcars, file = tmp) mtcars2 <- load_rdata(tmp)