isFile                package:R.utils                R Documentation

_C_h_e_c_k_s _i_f _t_h_e _f_i_l_e _s_p_e_c_i_f_i_c_a_t_i_o_n _i_s _a _f_i_l_e

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

     Checks if the file specification is a file.

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

     ## Default S3 method:
     isFile(pathname, ...)

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

pathname: A 'character' string of the pathname to be checked.

     ...: Not used.

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

     Returns 'TRUE' if the file specification is a file, otherwise
     'FALSE' is returned.

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

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

_S_e_e _A_l_s_o:

     To check if it is a directory see 'isDirectory'(). Internally
     'file.info'() is used.

