existsROOTFile: Test for Existing ROOT File

Description Usage Arguments Value Note Author(s) See Also Examples

View source: R/utils.R

Description

Test if a ROOT file does already exist.

Usage

1
existsROOTFile(filename, tmp.rm = TRUE)

Arguments

filename

name of ROOT file, including full path.

tmp.rm

logical, if TRUE then exlude filenames beginning with dQuote(tmp\_).

Value

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

Note

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.

Author(s)

Christian Stratowa

See Also

isROOTFile

Examples

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

xps documentation built on Nov. 8, 2020, 6 p.m.