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")

