copyDirectory            package:R.utils            R Documentation

_C_o_p_i_e_s _a _d_i_r_e_c_t_o_r_y

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

     Copies a directory.

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

     ## Default S3 method:
     copyDirectory(from, to=".", ..., private=TRUE, recursive=TRUE)

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

    from: The pathname of the source directory to be copied.

      to: The pathname of the destination directory.

     ...: Additional arguments passed to 'file.copy'(), e.g.
          'overwrite'.

 private: If 'TRUE', files (and directory) starting with a period is
          also copied, otherwise not.

recursive: If 'TRUE', the subdirectories are copied too, otherwise not.

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

     Returns (invisibly) a 'character' 'vector' of pathnames copied.

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

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

