tests/loadToEnv.R

library("R.utils")

file <- tempfile()

x <- 1:10
save(x, file=file)

env <- loadToEnv(file)
print(env)
print(ls(envir=env))

file.remove(file)
HenrikBengtsson/R.utils documentation built on March 7, 2024, 9:37 a.m.