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)

