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
> "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
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
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
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
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