Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TRDataFrame.cxx
Go to the documentation of this file.
1// Author: Omar Zapata Omar.Zapata@cern.ch 2015
2
3/*************************************************************************
4 * Copyright (C) 1995-2021, Rene Brun and Fons Rademakers. *
5 * All rights reserved. *
6 * *
7 * For the licensing terms see $ROOTSYS/LICENSE. *
8 * For the list of contributors see $ROOTSYS/README/CREDITS. *
9 *************************************************************************/
10#include<TRDataFrame.h>
11
12
13using namespace ROOT::R;
14
15//______________________________________________________________________________
16TRDataFrame::TRDataFrame(): TObject()
17{
18 df = Rcpp::DataFrame::create();
19}
20
21//______________________________________________________________________________
23{
24 df = _df.df;
25}
26
27//______________________________________________________________________________
29{
30 return Binding(df, name);
31}
char name[80]
Definition TGX11.cxx:110
This is a class to create DataFrames from ROOT to R.
Binding operator[](const TString &name)
TRDataFrame()
Default TDataFrame constructor.
Rcpp::DataFrame df
Mother of all ROOT objects.
Definition TObject.h:41
Basic string class.
Definition TString.h:139
namespace associated R package for ROOT.
Definition RExports.h:71