[Rcpp-devel] R.e. Fwd: problem with rmultinom function

2011-05-31 Thread Christian Gunning
On Tue, May 31, 2011 at 10:55 AM, wrote: > Hi, > I sent this message a couple of days ago, but I haven't heard anything yet. > I think you didnt receive it, that's why I send it again. I didn't see anything. If you're not subscribed to the list, submissions silently fail. Plus, you must send fr

Re: [Rcpp-devel] package .onLoad multiple modules

2011-05-31 Thread baptiste auguie
On 31 May 2011 23:19, wrote: > > Le 31 mai 2011 à 13:11, Christian Gunning a écrit : > >> On Tue, May 31, 2011 at 3:00 AM, >> wrote: >>> When FALSE it does what you want. Fantastic, thanks a lot. baptiste >> >> I can't begin to describe how long I've waited for such a function. >> -x > > :-)

Re: [Rcpp-devel] RcppArmadillo fails on FreeBSD

2011-05-31 Thread Rainer Hurling
On 31.05.2011 21:44 (UTC+1), Dirk Eddelbuettel wrote: On 31 May 2011 at 09:27, Rainer Hurling wrote: | Dirk, sorry again for my misunderstanding. No worries. I do appreciate how you (pretty much single-handedly) try to keep R and its packages viable on your chosen platform. That's nice circum

Re: [Rcpp-devel] Error: .onLoad failed in loadNamespace()

2011-05-31 Thread Laurent Gatto
On 31 May 2011 20:41, Dirk Eddelbuettel wrote: > > On 31 May 2011 at 21:11, Romain Francois wrote: > | I'm using the same versions and I don't get the problem. > > Really random guess: Could R 2.13 vs 2.14 have something to with it? Tested Rcpp 0.9.4.2 with R 2.13.0 (svn rev 55427, 2011-04-13) be

Re: [Rcpp-devel] trans() changed in latest RcppArmadillo

2011-05-31 Thread baptiste auguie
Thanks so much, Conrad! Best regards, Baptiste On 31 May 2011 23:37, Conrad Sand wrote: > I've found the cause of the issue (involves handling of small matrices). > > The fix is easy (and already done in the SVN repo), but I currently > don't have the time to roll out another release.  I'll aim

Re: [Rcpp-devel] RcppArmadillo fails on FreeBSD

2011-05-31 Thread Dirk Eddelbuettel
On 31 May 2011 at 09:27, Rainer Hurling wrote: | Dirk, sorry again for my misunderstanding. No worries. I do appreciate how you (pretty much single-handedly) try to keep R and its packages viable on your chosen platform. | Yes, I also think that | FreeBSD people could live with this patch. The

Re: [Rcpp-devel] Error: .onLoad failed in loadNamespace()

2011-05-31 Thread Dirk Eddelbuettel
On 31 May 2011 at 21:11, Romain Francois wrote: | I'm using the same versions and I don't get the problem. Really random guess: Could R 2.13 vs 2.14 have something to with it? | getClass is in methods, and Rcpp does have | | import(methods) | | in its NAMESPACE file. | | Maybe this means tha

Re: [Rcpp-devel] Error: .onLoad failed in loadNamespace()

2011-05-31 Thread Laurent Gatto
On 31 May 2011 20:11, Romain Francois wrote: > I'm using the same versions and I don't get the problem. > > getClass is in methods, and Rcpp does have > > import(methods) > > in its NAMESPACE file. > > Maybe this means that the client package also needs it. not sure. Yes, I am confused here... Ne

Re: [Rcpp-devel] Error: .onLoad failed in loadNamespace()

2011-05-31 Thread Romain Francois
I'm using the same versions and I don't get the problem. getClass is in methods, and Rcpp does have import(methods) in its NAMESPACE file. Maybe this means that the client package also needs it. not sure. Le 31/05/11 19:55, Laurent Gatto a écrit : Dear Romain, On 31 May 2011 13:34, Romain F

Re: [Rcpp-devel] Error: .onLoad failed in loadNamespace()

2011-05-31 Thread Laurent Gatto
Dear Romain, On 31 May 2011 13:34, Romain Francois wrote: > Works fine for me. Laurent, can you try with the current svn version of > Rcpp. > > svn checkout svn://svn.r-forge.r-project.org/svnroot/rcpp > cd rcpp/pkg > R CMD INSTALL Rcpp > Rscript -e "require(Rcpp); Rcpp.package.skeleton(module=TR

[Rcpp-devel] Fwd: problem with rmultinom function

2011-05-31 Thread s niani
-- Forwarded message -- From: s niani Date: Mon, May 30, 2011 at 9:20 AM Subject: problem with rmultinom function To: rcpp-devel@lists.r-forge.r-project.org Hi, I sent this message a couple of days ago, but I haven't heard anything yet. I think you didnt receive it, that's why I

Re: [Rcpp-devel] Error: .onLoad failed in loadNamespace()

2011-05-31 Thread Romain Francois
Works fine for me. Laurent, can you try with the current svn version of Rcpp. svn checkout svn://svn.r-forge.r-project.org/svnroot/rcpp cd rcpp/pkg R CMD INSTALL Rcpp Rscript -e "require(Rcpp); Rcpp.package.skeleton(module=TRUE)" R CMD check anRpackage Romain Le 30/05/11 21:58, Romain Francois

Re: [Rcpp-devel] trans() changed in latest RcppArmadillo

2011-05-31 Thread Conrad Sand
I've found the cause of the issue (involves handling of small matrices). The fix is easy (and already done in the SVN repo), but I currently don't have the time to roll out another release. I'll aim to release a fix on the weekend, which will also give me time to double-check if there is a proble

Re: [Rcpp-devel] package .onLoad multiple modules

2011-05-31 Thread romain
Le 31 mai 2011 à 13:11, Christian Gunning a écrit : > On Tue, May 31, 2011 at 3:00 AM, > wrote: >> When FALSE it does what you want. > > I can't begin to describe how long I've waited for such a function. > -x :-) Well it does what you want ... in this context... It might not accomodate othe

Re: [Rcpp-devel] package .onLoad multiple modules

2011-05-31 Thread Christian Gunning
On Tue, May 31, 2011 at 3:00 AM, wrote: > When FALSE it does what you want. I can't begin to describe how long I've waited for such a function. -x -- A man, a plan, a cat, a ham, a yak, a yam, a hat, a canal – Panama! ___ Rcpp-devel mailing list Rcpp

Re: [Rcpp-devel] package .onLoad multiple modules

2011-05-31 Thread Romain Francois
Hello, I just added (rev 3043) a "direct" argument to loadRcppModules. When TRUE (the default) it exposes the contents of the module When FALSE it does what you want. Romain Le 29/05/11 08:56, baptiste auguie a écrit : Dear list, [Disclaimer: I am not very familiar with Rcpp/C++, and probably

Re: [Rcpp-devel] RcppArmadillo fails on FreeBSD

2011-05-31 Thread Rainer Hurling
Am 30.05.2011 18:21 (UTC+1) schrieb Dirk Eddelbuettel: On 30 May 2011 at 17:21, Rainer Hurling wrote: |> I do not understand what you are asking: "as meant in RcppArmadilloConfig" ? |> Neither Romain, Doug nor I use a *BSD variant (if we ignore OS X as a BSD-derivative). |> So nothing in Rcp