ROOT  6.06/09
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;
13 
14 
15 //______________________________________________________________________________
17 {
18  df = Rcpp::DataFrame::create();
19 }
20 
21 //______________________________________________________________________________
23 {
24  df = _df.df;
25 }
26 
27 //______________________________________________________________________________
29 {
30  return Binding(df, name);
31 }
ClassImp(TRDataFrame) TRDataFrame
Definition: TRDataFrame.cxx:12
TRDataFrame()
Default TDataFrame constructor.
Basic string class.
Definition: TString.h:137
Binding operator[](const TString &name)
Definition: TRDataFrame.cxx:28
void Binding()
Definition: Binding.C:21
Rcpp::DataFrame df
Definition: TRDataFrame.h:187
namespace associated R package for ROOT.
Definition: RExports.h:70
#define name(a, b)
Definition: linkTestLib0.cpp:5
Mother of all ROOT objects.
Definition: TObject.h:58
This is a class to create DataFrames from ROOT to R
Definition: TRDataFrame.h:183