existsROOTFile {xps} | R Documentation |
Test if a ROOT file does already exist.
existsROOTFile(filename, tmp.rm = TRUE)
filename |
name of ROOT file, including full path. |
tmp.rm |
logical, if TRUE then exlude filenames beginning with dQuote(tmp_). |
Return TRUE
if file filename
is an already existing ROOT
file.
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
.
Christian Stratowa
existsROOTFile(paste(.path.package("xps"),"schemes/SchemeTest3.root",sep="/"))