zeligDepUpdate             package:Zelig             R Documentation

_D_o_w_n_l_o_a_d _Z_e_l_i_g _D_e_p_e_n_d_e_n_c_i_e_s _P_a_c_k_a_g_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     Compares the packages in Zelig-matrix of dependencies  to the
     locally installed packages. Finds local packages that have lower
     versions than in the corresponding row of the Zelig-matrix. Also,
     finds packages that 'Zelig' required but are not installed
     locally. Downloads packages that are locally installed with lower
     versions and those from the Zelig-matrix that are not installed.
     The download repository is taken from either the default 'repos'
     argument or from the 'URL' column of the Zelig-matrix of
     dependencies.

_U_s_a_g_e:

     zeligDepUpdate(destdir = NULL, installWithVers = FALSE, lib.loc = NULL,
     repos = "http://cran.r-project.org")

_A_r_g_u_m_e_n_t_s:

 destdir: directory to store the compress source-codes of packages that
          are downloaded from web repositories.

installWithVers: if TRUE, will invoke the install of the package such
          that it can be referenced by package version.

 lib.loc: character vector describing the location of R library trees
          to search through (and update packages therein). 

   repos: character vector, the base URL(s) of the repositories to use,
          i.e. the URL of the CRAN master such as
          "http://cran.r-project.org", which is the default, or its
          Statlib mirror, "http://lib.stat.cmu.edu/R/CRAN". Can be NULL
          to install from local zip files.

_V_a_l_u_e:

     No return value.

_N_o_t_e:

     Installs first level dependencies packages of 'Zelig' using R
     function 'install.packages' with the variable 'dependencies' set
     equal to TRUE.  If the installed packages have versions higher
     than the corresponding entry in Zelig-matrix, they are reported
     with a message. If the R version in the local environment is
     different from the R version that 'Zelig' depends on, then, it is
     reported with a message and no futher action is taken.

_A_u_t_h_o_r(_s):

     Ferdinand Alimadhi and Elena Villalon

_R_e_f_e_r_e_n_c_e_s:

     King, Gary. Zelig: Everyones Statistical Software.  <URL:
     http://gking.harvard.edu/zelig>.

_S_e_e _A_l_s_o:

     'zeligDepStatus' 'install.packages'

_E_x_a_m_p_l_e_s:

     ##checks all libraries curently know for packages
     ## Not run: zeligDepUpdate()
     ##finds packages only in lib.loc
     ## Not run: zeligDepUpdate(lib.loc="~/.R/mylibrary")

