16 std::cout <<
"hello " << s.
Data() << std::endl;
36 if (
type ==
"Export") {
37 std::cout <<
"-----------------------" << std::endl;
38 std::cout <<
"Testing FunctionExport" << std::endl;
39 std::cout <<
"-----------------------" << std::endl;
41 r <<
"print(funv(c(2,3)))";
44 r <<
"cat(funm(matrix(c(1,2,3,4),2,2)))";
48 r <<
"cat(funs('ROOTR'))";
51 r <<
"print(DiLog(2))";
53 r <<
"x <- seq(0,10,0.01)";
55 r <<
"for(i in seq(along=x)) { \
62 r <<
"print(fun4(1))";
64 std::cout <<
"-----------------------" << std::endl;
65 std::cout <<
"Testing FunctionImport " << std::endl;
66 std::cout <<
"-----------------------" << std::endl;
86 r<<
"test <- function() x11";
95 options(
"device='x11'");
Double_t fun3(Double_t *x, Double_t *par)
Double_t fun4(Double_t x)
void Functions(TString type="Import")
winID h TVirtualViewer3D TVirtualGLPainter char TVirtualGLPainter plot
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
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 Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
This is a class to create DataFrames from ROOT to R.
This is a class to pass functions from ROOT to R.
void SetFunction(T fun)
function to assign function to export, template method that supports a lot of function's prototypes
This is a class to pass functions from ROOT to 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
This is a class to get ROOT's objects from R's objects.
void Print(Option_t *option="") const override
Dump this marker with its attributes.
const char * Data() const
const Rcpp::internal::NamedPlaceHolder & Label
SEXP wrap(const TString &s)
Double_t DiLog(Double_t x)
Modified Struve functions of order 1.