remove.packages            package:utils            R Documentation

_R_e_m_o_v_e _I_n_s_t_a_l_l_e_d _P_a_c_k_a_g_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     Removes installed packages/bundles and updates index information
     as necessary.

_U_s_a_g_e:

     remove.packages(pkgs, lib, version)

_A_r_g_u_m_e_n_t_s:

    pkgs: a character vector with the names of the package(s) or
          bundle(s) to be removed.

     lib: a character vector giving the library directories to remove
          the packages from.  If missing, defaults to the first element
          in '.libPaths()'.

 version: A character vector specifying version(s) with versioned
          installs of the package(s) to remove.  If none is provided,
          the system will remove an unversioned install of the package
          if one is found, otherwise the latest versioned install.

_D_e_t_a_i_l_s:

     If an element of 'pkgs' matches a bundle name, all the packages in
     the bundle will be removed.  This takes precedence over matching a
     package name.

     'pkgs' and 'version' will be recycled if necessary to the length
     of the longer one.

_S_e_e _A_l_s_o:

     'REMOVE' for a command line version; 'install.packages' for
     installing packages.

