createMD5Sums            package:Revobase            R Documentation

_C_r_e_a_t_e, _R_e_a_d, _o_r _C_o_m_p_a_r_e _M_D_5 _C_h_e_c_k_s_u_m_s

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

     Utility functions to create, read, or compare MD5 checksums.

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

     createMD5Sums(files, path, out=NULL, recursive=FALSE, full.names=FALSE, 
                   NA.remove=TRUE)
     readMD5Sums(file)
     compareMD5Sums(src, target, target.file=NULL, ignoreAdditionalFiles=FALSE,
                    verbose=FALSE)

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

   files: character vector of files to be checksummed, either absolute
          paths or paths relative to 'path'

    path: path to files to be checksummed

     out: character string naming output file, if desired

recursive: logical flag specifying whether directories should be
          checked recursively

full.names: logical flag specifying whether to use full path names as
          checksum labels

NA.remove: logical flag specifying whether to remove NAs from the 
          returned data frame

    file: character string naming file containing md5 checksums

     src: character string naming file containing reference md5
          checksums

  target: data frame containing md5 checksums to be verified by
          reference to 'src'

target.file: character string naming file containing md5 checksums to
          be verified by reference to 'src'

ignoreAdditionalFiles: logical flag specifying whether extra files in
          'target' not in 'src' should be ignored

 verbose: logical flag specifying whether to print verbose output

_E_x_a_m_p_l_e_s:

     src <- createMD5Sums(path=R.home())
     ## Not run: 
     tgt <- readMD5Sums(file.path(R.home(), "R.md5"))
     compareMD5Sums(src, tgt)
     ## End(Not run)

