search for: __ex__

Displaying 2 results from an estimated 2 matches for "__ex__".

Did you mean: __emx__
2010 May 17
0
Rcpp 0.8.0 on CRAN
...y recommended that each function using C++ catches C++ exceptions. Rcpp offers the function forward_exception_to_r to facilitate forwarding the exception to the "R side" as an R condition. For example : SEXP foo( ) { try { // user code here } catch( std::exception& __ex__){ forward_exception_to_r( __ex__ ) ; } // return something here } Alternatively, functions can enclose the user code with the macros BEGIN_RCPP and END_RCPP, which provides for a more compact way of programming. The function above could be written as follows using the macros: S...
2010 May 17
0
Rcpp 0.8.0 on CRAN
...y recommended that each function using C++ catches C++ exceptions. Rcpp offers the function forward_exception_to_r to facilitate forwarding the exception to the "R side" as an R condition. For example : SEXP foo( ) { try { // user code here } catch( std::exception& __ex__){ forward_exception_to_r( __ex__ ) ; } // return something here } Alternatively, functions can enclose the user code with the macros BEGIN_RCPP and END_RCPP, which provides for a more compact way of programming. The function above could be written as follows using the macros: S...