Skip to content
Prev 5834 / 10988 Next

[Rcpp-devel] Segfault error during simulation in Rcpp

Jonathan,

| ^ I could have been more explicit. This is what I meant. You might may or
may not be able to do this in the sourceCpp() framework, though. How you do
| this is much more obvious if you go the route of making an Rcpp package.
For as much as the convenience functions are a blessing, I've always found
it  | hard to think about how I'd do more complex things with them. It
could be possible, I just don't see it. I find the package approach to be a
nice balance |between abstracting away from some details but keeping some
in the forefront of your mind. If you email me off the list and I can send
you a very small |package that using Rcpp. Multiple C++ functions are
created, only some are exposed to R.


Your are right creating a package is probably the best thing to do
especially in the long term (when hopefully this stuff will go in an
article and
the code in a CRAN package). I'll email you to ask you the package you
where talking about.


On Fri, May 17, 2013 at 11:32 AM, Matteo Fasiolo
<matteo.fasiolo at gmail.com>wrote:

            
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20130517/53bd2957/attachment-0001.html>

Thread (27 messages)

Matteo Fasiolo Segfault error during simulation in Rcpp May 6 Douglas Bates Segfault error during simulation in Rcpp May 6 Dirk Eddelbuettel Segfault error during simulation in Rcpp May 6 Dirk Eddelbuettel Segfault error during simulation in Rcpp May 6 Matteo Fasiolo Segfault error during simulation in Rcpp May 6 Dirk Eddelbuettel Segfault error during simulation in Rcpp May 6 Matteo Fasiolo Segfault error during simulation in Rcpp May 6 Jared Murray Segfault error during simulation in Rcpp May 9 Matteo Fasiolo Segfault error during simulation in Rcpp May 16 Dirk Eddelbuettel Segfault error during simulation in Rcpp May 16 Matteo Fasiolo Segfault error during simulation in Rcpp May 16 Kevin Ushey Segfault error during simulation in Rcpp May 16 Jonathan Olmsted Segfault error during simulation in Rcpp May 16 Xiao He Segfault error during simulation in Rcpp May 16 Matteo Fasiolo Segfault error during simulation in Rcpp May 16 Dirk Eddelbuettel Segfault error during simulation in Rcpp May 16 Xiao He Segfault error during simulation in Rcpp May 16 Jonathan Olmsted Segfault error during simulation in Rcpp May 16 Dirk Eddelbuettel Segfault error during simulation in Rcpp May 16 Matteo Fasiolo Segfault error during simulation in Rcpp May 16 Dirk Eddelbuettel Segfault error during simulation in Rcpp May 16 Jonathan Olmsted Segfault error during simulation in Rcpp May 16 Dirk Eddelbuettel Segfault error during simulation in Rcpp May 16 Ivan Popivanov Segfault error during simulation in Rcpp May 16 Ivan Popivanov Segfault error during simulation in Rcpp May 16 Matteo Fasiolo Segfault error during simulation in Rcpp May 17 Matteo Fasiolo Segfault error during simulation in Rcpp May 17