Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
Exception.C
Go to the documentation of this file.
1//script to test error handling
2
3
5{
7r.SetVerbose(1);
8
9//passing bad command 1
10r<<"%";
11//passing bad command 2
12r<<".";
13
14//trying to get an object from a bad command
15TMatrixD m=r["%"];
16
17//The next lines are not supported yet
18//Requires segfault signal handling
19//r["ss"]<<(double (*)(double))sin;
20//r<<"ss()"
21return r;
22}
ROOT::R::TRInterface & Exception()
Definition Exception.C:4
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
ROOT R was implemented using the R Project library and the modules Rcpp and RInside
static TRInterface & Instance()
static method to get an TRInterface instance reference
TMarker m
Definition textangle.C:8