R/loadRData.R

Defines functions loadRData

Documented in loadRData

#' Internal function - loads an RData file, and returns it
#'
#' @param fileName file to be downloaded
#' @keywords internal
#' @import tibble

loadRData <- function(fileName){
load(fileName)
get(ls()[ls() != "fileName"])
}

Try the emln package in your browser

Any scripts or data that you put into this service are public.

emln documentation built on May 6, 2026, 1:06 a.m.