Description Usage Arguments Details Value Author(s) See Also Examples
Export data as text files directly from a ROOT file.
| 1 | 
| datafile | name of ROOT data file including full path | 
| schemefile | name of ROOT scheme file including full path | 
| treeset | name of subdirectory in ROOT file where trees are stored | 
| treename | name of ROOT tree to export. | 
| treetype | type of tree(s) to export, see  | 
| varlist | names of tree leaves to export. | 
| outfile | name of output file. | 
| sep | column separator | 
| as.dataframe | if  | 
| verbose | logical, if  | 
Export data as text files directly from a ROOT file.
If as.dataframe is TRUE, the data will be imported into the
current R session as data.frame. Otherwise, NULL will be returned.
Christian Stratowa
| 1 2 3 4 5 | ## export data directly from root file
schemefile <- paste(path.package("xps"),"schemes/SchemeTest3.root",sep="/")
datafile   <- paste(path.package("xps"),"rootdata/DataTest3_cel.root",sep="/")
data <- export.root(datafile, schemefile, "DataSet", "*", "cel", "*", "DataOutFile.txt", as.dataframe = TRUE,verbose=FALSE)
head(data)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.