\Header{installDataPackage}{A function to install data packages from the Internet}
\keyword{utilities}{installDataPackage}
\begin{Description}\relax
This function can be used to easily download and install a data
package from the Bioconductor website.
\end{Description}
\begin{Usage}
\begin{verbatim}
installDataPackage(pkga, liba = .libPaths()[1])
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{pkga}] The name of the desired data package
\item[\code{liba}] The install library, defaulting to the base library
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
installDataPackage uses the \code{reposTools} package to perform the
actual download and install - this function is mainly just a
simplified wrapper for \code{install.packages2}.  It connects to the
data package repository at \url{http://www.bioconductor.org/data/dataRepos},
and attempts to get the requested package.
\end{Details}
\begin{Author}\relax
Jeff Gentry
\end{Author}
\begin{SeeAlso}\relax
\code{\Link{install.packages2}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
  z <- tempfile()
  dir.create(z)
  installDataPackage("GO", liba=z)
\end{ExampleCode}
\end{Examples}

