findFiles             package:affxparser             R Documentation

_F_i_n_d_s _o_n_e _o_r _s_e_v_e_r_a_l _f_i_l_e_s _i_n _m_u_l_t_i_p_l_e _d_i_r_e_c_t_o_r_i_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     Finds one or several files in multiple directories.

_U_s_a_g_e:

     findFiles(pattern=NULL, paths=NULL, recursive=FALSE, firstOnly=TRUE, ...)

_A_r_g_u_m_e_n_t_s:

 pattern: A regular expression file name pattern to match.

   paths: A 'character' 'vector' of paths to be searched.

recursive: If 'TRUE', the directory structure is searched breath-first,
          in lexicographic order.

firstOnly: If 'TRUE', the method returns as soon as a matching file is
          found, otherwise not.

     ...: Arguments passed to 'list.files'().

_V_a_l_u_e:

     Returns a 'vector' of the full pathnames of the files found.

_P_a_t_h_s:

     The 'paths' argument may also contain paths specified as
     semi-colon ('";"') separated paths, e.g. '"/usr/;usr/bin/;.;"'.

_W_i_n_d_o_w_s _S_h_o_r_t_c_u_t _l_i_n_k_s:

     If package 'R.utils' is available, Windows Shortcut links (*.lnk)
     are recognized and can be used to immitate links to directories
     elsewhere.  For more details, see 'filePath'.

_A_u_t_h_o_r(_s):

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

