src_root: Connect to a ROOT file.

Description Usage Arguments

View source: R/src-root.R

Description

Use src_root to open an existing ROOT file, and tbl to open trees within that ROOT file. Use tbl_rootchain to open a "chain", i.e. bind multiple trees from one or many files.

Usage

1
2
3
4
5
6
src_root(path, ...)

## S3 method for class 'src_root'
tbl(src, tree_name, ...)

tbl_rootchain(tbls, tree_name)

Arguments

path

Path to ROOT file.

...

Included for compatibility with the generic, but otherwise ignored.

src

A ROOT src created with src_root.

tree_name

Name (and path) to the tree in the ROOT file. Vector is recycled if used in tbl_rootchain.

tbls

Either a list of ROOT trees created with tbl, or a character vector of file names.


rmatev/dplyr.root documentation built on Dec. 30, 2020, 9:55 p.m.