Rev 2792 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{hdf5}\title{Interface to the HDF5 Library}\usage{hdf5save(file, \dots)hdf5load(file, load=TRUE)}\alias{hdf5save}\alias{hdf5load}\arguments{\item{file}{the name of the file in which the objects will be stored.}\item{\dots}{the names of the objects to be saved.}\item{load}{a logical value. If \code{FALSE}, a character vectorcontaining the names of the objects in the file is returned.If \code{TRUE} (the default), the objects are returned as thecomponents of a named list.}}\description{\code{hdf5save} and \code{hd5fload} provide an experimental interfaceto version 5 of the NCSA HDF library. \code{hdf5save} writes arepresentation of \R objects to the specified file in a form whichcan be read by software which understands the HDF5 format.The objects can be read back from the file at a laterdate by using the function \code{hdf5load}.Not all R types are supported and it probably doesn't make sense toput some of them into an HDF file (e.g. closures). However, lists,strings, vectors, and matrices work. Lists map to HDF groups.Vectors and matrices map to datasets.This capability is only available on machines which have the HDF5library.}\author{Marcus G. Daniels \email{mgd@santafe.edu}.}\references{\url{http://hdf.ncsa.uiuc.edu}}\seealso{\code{\link{save}}, \code{\link{load}}.}\examples{\dontrun{hdf5save("examp.hdf", pi, letters, ls)str(hdf5load("examp.hdf"))}}\keyword{file}