search for: forward_exception_to_r

Displaying 3 results from an estimated 3 matches for "forward_exception_to_r".

2010 May 17
0
Rcpp 0.8.0 on CRAN
...contexts are both based on non local jumps (at least on the implementation of exceptions in gcc), so care must be ensure that one system does not void assumptions of the other. It is therefore very strongly 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...
2010 May 17
0
Rcpp 0.8.0 on CRAN
...contexts are both based on non local jumps (at least on the implementation of exceptions in gcc), so care must be ensure that one system does not void assumptions of the other. It is therefore very strongly 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...
2012 May 03
1
Setting up a windows system for rcpp
...file10bc7da0783e.o:file10bc7da0783e.cpp:(.text+0x27c): undefined reference to `Rcpp::RObject::~RObject()' file10bc7da0783e.o:file10bc7da0783e.cpp:(.text+0x389): undefined reference to `Rcpp::RObject::~RObject()' file10bc7da0783e.o:file10bc7da0783e.cpp:(.text+0x420): undefined reference to `forward_exception_to_r(std::exception const&)' file10bc7da0783e.o:file10bc7da0783e.cpp:(.text$_ZN4Rcpp6VectorILi14EED1Ev[Rcpp::Vector<14>::~Vector()]+0x13): undefined reference to `Rcpp::RObject::~RObject()' file10bc7da0783e.o:file10bc7da0783e.cpp:(.text$_ZN4Rcpp6VectorILi14EE6updateEv[Rcpp::Vector<1...