R/load.f.R

load.f <- function (file, ...) 
{
    ls.ext <- function(file) {
        local({
            base::load(file)
            base::ls()
        })
    }
    base::load(file, .GlobalEnv, ...)
    ls.ext(file)
}
John-R-Wallace/R-ToolBox documentation built on April 17, 2024, 1:37 p.m.