Re: [Rd] (PR#9811) sequence(c(2, 0, 3)) produces surprising results,

2007-07-27 Thread ripley
This is as doumented, and I think you could say the same thing of seq(). BTW, sequence() allows negative inputs, and I don't think you want sum(input) in that case. I've never seen the point of sequence(), but it has been around in R for a long time. It is used in packages eRm, extRemes, hydrosa

Re: [Rd] sweep sanity checking?

2007-07-27 Thread Petr Savicky
When I was preparing the patch of sweep submitted on July 25, I was unaware of the code by Heather Turner. She suggested a very elegant solution, if STATS is a vector and we want to use meaningful recycling in full generality. I would like to suggest a combined solution, which uses Heather Turner's

Re: [Rd] (PR#9811) sequence(c(2, 0, 3)) produces surprising results,

2007-07-27 Thread Robin Hankin
On 27 Jul 2007, at 08:07, [EMAIL PROTECTED] wrote: > This is as doumented, and I think you could say the same thing of > seq(). > BTW, sequence() allows negative inputs, and I don't think you want > sum(input) in that case. > > I've never seen the point of sequence(), but it has been around in

Re: [Rd] Rd2dvi (PR#9812)

2007-07-27 Thread ripley
It seems this feature was introduced in Perl 5.6.1, but that is older than Solaris 9 (which was first released 9/02 according to www.sun.com). We need to know what version of Perl this was. On Thu, 26 Jul 2007, Bill Dunlap wrote: > On Thu, 26 Jul 2007 [EMAIL PROTECTED] wrote: > >> Is this a bu

Re: [Rd] (PR#9811) sequence(c(2, 0, 3)) produces surprising results,

2007-07-27 Thread maechler
> "Robin" == Robin Hankin <[EMAIL PROTECTED]> > on Fri, 27 Jul 2007 08:33:18 +0100 writes: Robin> On 27 Jul 2007, at 08:07, [EMAIL PROTECTED] Robin> wrote: >> This is as doumented, and I think you could say the same >> thing of seq(). BTW, sequence() allows negative i

Re: [Rd] Using R_MakeExternalPtr

2007-07-27 Thread Hin-Tak Leung
As others as commented, everything going in/out of the .Call() interface needs to be SEXP (even if it does nothing and you are returning R_NilValue). Secondly, your attached code is both (1) too long, and (2) incomplete. You should write some *simple* R code that uses only soamInit() and soamUnIn