bunzip2               package:R.utils               R Documentation

_B_u_n_z_i_p _a _f_i_l_e

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

     Bunzip a file.

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

     ## Default S3 method:
     bunzip2(filename, destname=gsub("[.]bz2$", "", filename), overwrite=FALSE, remove=TRUE, BFR.SIZE=1e+07, ...)

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

filename: Pathname of (bzip2'ed) input file to be bunzip2'ed.

destname: Pathname of output file.

overwrite: If the output file already exists, then if 'overwrite' is
          'TRUE' the file is silently overwritting, otherwise an
          exception is thrown.

  remove: If 'TRUE', the input file is removed afterward, otherwise
          not.

BFR.SIZE: The number of bytes read in each chunk.

     ...: Not used.

_D_e_t_a_i_l_s:

     Internally 'bzfile()' (see 'connections') is used to read chunks
     of the bzip2'ed file, which are then written to the output file.

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

     Returns the number of (input/compressed) bytes read.

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

     Henrik Bengtsson (<URL: http://www.braju.com/R/>)

