-- Original Message ---
From: Simon Urbanek
To: Ulrike Grömping
Cc: r-devel@r-project.org
Sent: Wed, 25 Mar 2009 10:32:59 -0400
Subject: Re: [Rd] Error in FrF2 example on Mac OS
> On Mar 24, 2009, at 10:41 , Ulrike Grömping wrote:
>
> >
> >
>
On Mar 24, 2009, at 10:41 , Ulrike Grömping wrote:
Petr Savicky wrote:
On Tue, Mar 24, 2009 at 02:45:57PM +0100, Uwe Ligges wrote:
gives the custom error message "nruns must be a power of 2.",
which is
generated in the first check within function FrF2:
if (!is.null(nruns)){
k <-
Petr Savicky wrote:
>
> On Tue, Mar 24, 2009 at 07:41:31AM -0700, Ulrike Grömping wrote:
>> > Probably, k is needed also later. Assumig that 2^k works correctly,
>> > the following could be sufficient
>> >
>> >if (!is.null(nruns)){
>> > k <- round(log2(nruns))
>> > if (!2^k==nr
On Tue, Mar 24, 2009 at 07:41:31AM -0700, Ulrike Grömping wrote:
> > Probably, k is needed also later. Assumig that 2^k works correctly,
> > the following could be sufficient
> >
> >if (!is.null(nruns)){
> > k <- round(log2(nruns))
> > if (!2^k==nruns) stop("nruns must be a power o
Petr Savicky wrote:
>
> On Tue, Mar 24, 2009 at 02:45:57PM +0100, Uwe Ligges wrote:
>> >gives the custom error message "nruns must be a power of 2.", which is
>> >generated in the first check within function FrF2:
>> >
>> >if (!is.null(nruns)){
>> > k <- floor(log2(nruns))
>> >
Thanks, Uwe, I think that's it!
I'll include your fix in the next update.
Regards, Ulrike
-- Original Message ---
From: Uwe Ligges
To: Ulrike Grömping
Cc: r-devel@r-project.org
Sent: Tue, 24 Mar 2009 14:45:57 +0100
Subject: Re: [Rd] Error in FrF2 example
On Tue, Mar 24, 2009 at 02:45:57PM +0100, Uwe Ligges wrote:
> >gives the custom error message "nruns must be a power of 2.", which is
> >generated in the first check within function FrF2:
> >
> >if (!is.null(nruns)){
> > k <- floor(log2(nruns))
> > if (!2^k==nruns) stop("nruns must
Ulrike Grömping wrote:
Dear all,
I just noticed that the 0.9 update for FrF2 did not work out for Mac OS due
to an error in an example that ran without error on all other platforms. I
do not find any reason for this. In the past, umlauts or tab characters have
sometimes been an issue, but I di