\Header{load}{Reload Saved Datasets}
\keyword{file}{load}
\begin{Usage}
\begin{verbatim}
load(filename, envir = sys.frame(sys.parent())))
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\texttt{filename}] a character string giving the name of the file to
load.
\item[\texttt{envir}] the environment where the data should be loaded
\end{ldescription}
\end{Arguments}
\begin{Description}
This function will reload the datasets written to a file
with the function \texttt{save}.\end{Description}
\begin{SeeAlso}
\texttt{\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 global environment
load("all.Rdata",globalenv())
\end{ExampleCode}
\end{Examples}

