Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

pack.ffdf

Packs ffdf data.frames into a compressed file


Description

pack.ffdf stores ffdf data.frames into the given file for easy archiving and movement of data. The file can be restored using unpack.ffdf. If file ends with ".zip", the package will be zipped otherwise it will be tar.gz-ed.

Usage

pack.ffdf(file, ...)

Arguments

file

packaged file, zipped or tar.gz.

...

ff objects to be packed

See Also

Examples

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)

ffbase

Basic Statistical Functions for Package 'ff'

v0.13.3
GPL-3
Authors
Edwin de Jonge, Jan Wijffels, Jan van der Laan
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.