Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TRFunctionImport.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<TRFunctionImport.h>
11#include <TRObject.h>
12
13//______________________________________________________________________________
14/* Begin_Html
15End_Html
16*/
17
18
19using namespace ROOT::R;
20
21
22
23//______________________________________________________________________________
28
29//______________________________________________________________________________
31{
32 f = new Rcpp::Function(name.Data());
33}
34
35//______________________________________________________________________________
37{
38 f = new Rcpp::Function(name.Data(), ns.Data());
39}
40
41//______________________________________________________________________________
43{
44 f = new Rcpp::Function((SEXP)obj);
45}
46
47//______________________________________________________________________________
49{
50 f = new Rcpp::Function(obj);
51}
char name[80]
Definition TGX11.cxx:110
This is a class to pass functions from ROOT to R.
TRFunctionImport(const Rcpp::Function &fun)
TRFunctionImport constructor for Rcpp::DataFrame.
This is a class to get ROOT's objects from R's objects.
Definition TRObject.h:70
Mother of all ROOT objects.
Definition TObject.h:41
Basic string class.
Definition TString.h:138
const char * Data() const
Definition TString.h:384
namespace associated R package for ROOT.
Definition RExports.h:71