\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(pkg, lib = .libPaths()[1])
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{pkg}] The name of the desired data package
\item[\code{lib}] 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 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", lib=z)
\end{ExampleCode}
\end{Examples}

