\Header{load}{Reload Saved Datasets}
\keyword{file}{load}
\begin{Description}\relax
This function will reload the datasets written to a file with the
function \code{save}.\end{Description}
\begin{Usage}
\begin{verbatim}
load(file, envir = parent.frame())
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{file}] a character string giving the name of the file to load.
\item[\code{envir}] the environment where the data should be loaded.
\end{ldescription}
\end{Arguments}
\begin{SeeAlso}\relax
\code{\Link{save}}.\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
## save all data
save(list = ls(), file= "all.Rdata")

## restore the saved values to the current environment
load("all.Rdata")

## restore the saved values to the workspace
load("all.Rdata", .GlobalEnv)
\end{ExampleCode}
\end{Examples}

