installDataPackage         package:annotate         R Documentation

_A _f_u_n_c_t_i_o_n _t_o _i_n_s_t_a_l_l _d_a_t_a _p_a_c_k_a_g_e_s _f_r_o_m _t_h_e _I_n_t_e_r_n_e_t

_D_e_s_c_r_i_p_t_i_o_n:

     This function is deprecated.  Use R's build-in 'install.packages'
     function instead.

     This function can be used to easily download and install a data
     package from the Bioconductor website.

_U_s_a_g_e:

     installDataPackage(pkga, liba = .libPaths()[1])

_A_r_g_u_m_e_n_t_s:

    pkga: The name of the desired data package

    liba: The install library, defaulting to the base library

_D_e_t_a_i_l_s:

     installDataPackage uses the 'reposTools' package to perform the
     actual download and install - this function is mainly just a
     simplified wrapper for 'install.packages2'.  It connects to the
     data package repository at <URL:
     http://www.bioconductor.org/data/dataRepos>, and attempts to get
     the requested package.

_A_u_t_h_o_r(_s):

     Jeff Gentry

_S_e_e _A_l_s_o:

     'install.packages2'

_E_x_a_m_p_l_e_s:

       ## Not run: 
       z <- tempfile()
       dir.create(z)
       installDataPackage("GO", liba=z)
       
     ## End(Not run)

