Skip to content
Back to formatted view

Raw Message

Message-ID: <19943.35646.767871.270646@max.nulle.part>
Date: 2011-06-02T13:08:14Z
From: Dirk Eddelbuettel
Subject: [Rcpp-devel] R.e.  Fwd: problem with rmultinom function
In-Reply-To: <BANLkTikhQ4XipsiA3ZpZGK5trE29Q1N+=w@mail.gmail.com>

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