\HeaderA{installDataPackage}{A function to install data packages from the Internet}{installDataPackage}
\keyword{utilities}{installDataPackage}
\begin{Description}\relax
This function is deprecated.  Use R's build-in \code{install.packages}
function instead.

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{\LinkA{install.packages2}{install.packages2}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
  ## Not run: 
  z <- tempfile()
  dir.create(z)
  installDataPackage("GO", liba=z)
  
## End(Not run)
\end{ExampleCode}
\end{Examples}


