existsROOTFile              package:xps              R Documentation

_T_e_s_t _f_o_r _E_x_i_s_t_i_n_g _R_O_O_T _F_i_l_e

_D_e_s_c_r_i_p_t_i_o_n:

     Test if a ROOT file does already exist.

_U_s_a_g_e:

     existsROOTFile(filename, tmp.rm = TRUE)

_A_r_g_u_m_e_n_t_s:

filename: name of ROOT file, including full path.

  tmp.rm: logical, if 'TRUE' then exlude filenames beginning with
          dQuote(tmp_).

_V_a_l_u_e:

     Return 'TRUE' if file 'filename' is an already existing 'ROOT'
     file.

_N_o_t_e:

     It is possible to create temporary 'ROOT' files called "tmp" or
     with 'filename' starting with "tmp_" which can be overwritten.
     Thus by default temporary files will not be recognized by
     'existsROOTFile'. If you want to recognize temporary files, set
     'tmp.rm = TRUE'.

_A_u_t_h_o_r(_s):

     Christian Stratowa

_S_e_e _A_l_s_o:

     'isROOTFile'

_E_x_a_m_p_l_e_s:

     existsROOTFile(paste(.path.package("xps"),"schemes/SchemeTest3.root",sep="/"))

