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))

