[Rcpp-devel] R.e. Fwd: problem with rmultinom function
Dirk Eddelbuettel
edd at debian.org
Thu Jun 2 15:08:14 CEST 2011
On 1 June 2011 at 15:24, s niani wrote:
| Thanks you so much for suggesting inline, it really helped me. I changed my
| code to this format and ran it on one of the largest dataset, it is still
| running and usually it takes 3,4 days to be completed for 3000 iteration, so
| far I haven't seen the former exceptions that happened in .Call version, I
| hope it doesn't occur again. I let you know if it ends without any exception.
| but still I cant understand why that exceptions happen in .Call version.
You are seemingly confused: every Rcpp-based function uses .Call() as that
is R's interface for SEXP types. This includes inline which simply happens to
write the code around .Call() for you (and then some).
Dirk
--
Gauss once played himself in a zero-sum game and won $50.
-- #11 at http://www.gaussfacts.com
More information about the Rcpp-devel
mailing list