12#ifndef ROOT_R_TRInterface
13#define ROOT_R_TRInterface
192 template <
class T>
Binding &operator <<(T var)
198 template <
class T>
operator T()
218 const Bool_t verbose =
false,
const Bool_t interactive =
true);
263 fR->assign<T>(var,
name.Data());
#define ClassDef(name, id)
TBuffer & operator<<(TBuffer &buf, const Tmpl *obj)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
This is a class to create DataFrames from ROOT to R.
This is a class to pass functions from ROOT to R.
Binding & operator=(const TRFunctionExport &fun)
Binding(TRInterface *rnt, TString name)
Binding & operator<<(const TRDataFrame &df)
Binding(const Binding &obj)
Binding & operator>>(T &var)
Binding & operator<<(const TRFunctionExport &fun)
Binding & operator=(const TRDataFrame &df)
Binding & operator=(const T &data)
Binding & operator=(const Binding &obj)
ROOT R was implemented using the R Project library and the modules Rcpp and RInside
void Execute(const TString &code)
Method to eval R code.
static TRInterface & Instance()
static method to get an TRInterface instance reference
void SetVerbose(Bool_t status)
Method to set verbose mode, that produce extra output.
Bool_t IsInstalled(TString pkg)
Method to verify if a package is installed.
Bool_t Require(TString pkg)
Method to load an R's package.
Int_t Eval(const TString &code, TRObject &ans)
Method to eval R code and you get the result in a reference to TRObject.
void Interactive()
Method to get a R prompt to work interactively with tab completion support.
void ProcessEventsLoop()
Init event loop in a thread to support actions in windows from R graphics system.
Binding operator[](const TString &name)
void Assign(const T &var, const TString &name)
Template method to assign C++ variables into R environment.
static TRInterface * InstancePtr()
static method to get an TRInterface instance pointer
Bool_t Install(TString pkg, TString repos="http://cran.r-project.org")
Method to install an R's package.
This is a class to get ROOT's objects from R's objects.
Mother of all ROOT objects.
virtual void Execute(const char *method, const char *params, Int_t *error=nullptr)
Execute method on this object with the given parameter string, e.g.
<div class="legacybox"><h2>Legacy Code</h2> TThread is a legacy interface: there will be no bug fixes...
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.