md5sum                 package:tools                 R Documentation

_C_o_m_p_u_t_e _M_D_5 _C_h_e_c_k_s_u_m_s

_D_e_s_c_r_i_p_t_i_o_n:

     Compute the 32-byte MD5 checksums of one or more files.

_U_s_a_g_e:

     md5sum(files)

_A_r_g_u_m_e_n_t_s:

   files: character. The paths of file(s) to be check-summed.

_V_a_l_u_e:

     A character vector of the same length as 'files', with names equal
     to 'files'. The elements will be 'NA' for non-existent or
     unreadable files, otherwise a 32-character string of hexadecimal
     digits.

     On Windows all files are read in binary mode (as the 'md5sum'
     utilities there do): on other OSes the files are read in the
     default way.

_S_e_e _A_l_s_o:

     'checkMD5sums'

_E_x_a_m_p_l_e_s:

     md5sum(dir(R.home(), pattern="^COPY", full.names=TRUE))

