Logo ROOT   6.12/07
Reference Guide
TRDataFrame.cxx
Go to the documentation of this file.
1 /*************************************************************************
2  * Copyright (C) 2013-2015, Omar Andres Zapata Mesa *
3  * All rights reserved. *
4  * *
5  * For the licensing terms see $ROOTSYS/LICENSE. *
6  * For the list of contributors see $ROOTSYS/README/CREDITS. *
7  *************************************************************************/
8 #include<TRDataFrame.h>
9 
10 
11 using namespace ROOT::R;
12 
13 //______________________________________________________________________________
15 {
16  df = Rcpp::DataFrame::create();
17 }
18 
19 //______________________________________________________________________________
21 {
22  df = _df.df;
23 }
24 
25 //______________________________________________________________________________
27 {
28  return Binding(df, name);
29 }
Binding operator[](const TString &name)
Definition: TRDataFrame.cxx:26
void Binding()
Definition: Binding.C:21
Rcpp::DataFrame df
Definition: TRDataFrame.h:181
namespace associated R package for ROOT.
Definition: RExports.h:56
TRDataFrame()
Default TDataFrame constructor.
Definition: TRDataFrame.cxx:14
Mother of all ROOT objects.
Definition: TObject.h:37
char name[80]
Definition: TGX11.cxx:109
This is a class to create DataFrames from ROOT to R
Definition: TRDataFrame.h:177