Logo ROOT  
Reference Guide
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//______________________________________________________________________________
17{
18 df = Rcpp::DataFrame::create();
19}
20
21//______________________________________________________________________________
23{
24 df = _df.df;
25}
26
27//______________________________________________________________________________
29{
30 return Binding(df, name);
31}
void Binding()
Definition: Binding.C:21
char name[80]
Definition: TGX11.cxx:110
TRDataFrame(const T1 &t1)
This is a class to create DataFrames from ROOT to R.
Definition: TRDataFrame.h:176
Binding operator[](const TString &name)
Definition: TRDataFrame.cxx:28
TRDataFrame()
Default TDataFrame constructor.
Definition: TRDataFrame.cxx:16
Rcpp::DataFrame df
Definition: TRDataFrame.h:180
Mother of all ROOT objects.
Definition: TObject.h:37
Basic string class.
Definition: TString.h:136
namespace associated R package for ROOT.
Definition: RExports.h:55