Loads ffdf data.frames from a directory
load.ffdf(dir, envir = parent.frame())
dir |
path from where the data should be loaded |
envir |
environment where the stored variables will be loaded into. |
iris.ffdf <- as.ffdf(iris) td <- tempfile() # save the ffdf into the supplied directory save.ffdf(iris.ffdf, dir=td) # what in the directory? dir(td) #remove the ffdf from memory rm("iris.ffdf") # and reload the stored ffdf load.ffdf(dir=td) tf <- paste(tempfile(), ".zip", sep="") packed <- pack.ffdf(file=tf, iris.ffdf) #remove the ffdf from memory rm("iris.ffdf") # restore the ffdf from the packed ffdf unpack.ffdf(tf)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.