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="/"))

