untgz               package:reposTools               R Documentation

_C_r_e_a_t_e _a _c_o_n_n_e_c_t_i_o_n _t_o _a ._t_a_r._g_z _f_i_l_e

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

     Return a connection to the contents of filename within the .tar.gz
     archive given in description.

     If checkExists, stop if filename isn't in the archive.  This
     requires reading a list of the entire archive contents.

     The idea is to provide a .tar.gz equivalent to the unz() built-in.

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

     untgz(description, filename, open = "", checkExists = TRUE)

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

description: The filename of the .tar.gz

filename: The filename of the file in the .tar.gz archive that you want
          to access.

    open: The returned connection will have use this value

checkExists: If TRUE, then a raise an error if 'filename' is not found
          in 'description'.  Otherwise, you'll just get such a message
          as the supposed contents of the file.  This costs an extra
          file open and read.

_V_a_l_u_e:

     A connection to the contents of the specified file within the
     archive.

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

     S. Falcon

