This problem is due to a bug in the iterators package.
It has been fixed in version 1.0.2 of iterators, which is
on CRAN now.
- Daya
Daya Atapattu
Revolution Computing
Olivier ETERRADOSSI wrote:
Many thanks David for making the connection betweeen the two reports.
If I understand, other frenc
Many thanks David for making the connection betweeen the two reports.
If I understand, other french users may have faced the same problem...
However I'll wait until it's solved to have a look at "foreach".
Regards. Olivier
David M Smith a écrit :
A user in Japan reported a similar problem on the
A user in Japan reported a similar problem on the Revolutions blog (
http://bit.ly/FKP2I ), and my best guess is that it's an (unintended!)
effect of using locales. The developers in New Haven are looking at it, and
I expect they'll be able to post an update to CRAN soon.
# David Smith
On Mon, Jul
t; x
> [[1]]
> [1] 1
>
> [[2]]
> [1] 1.414214
>
> [[3]]
> [1] 1.732051
>
>
> Are you on Vista , maybe ?
>
>
> Robert Kinley
>
>
>
>
>
> Michael Knudsen
> Sent by: r-help-boun...@r-project.org
> 20/07/2009 14:23
009 14:23
To
Olivier ETERRADOSSI
cc
r-help@r-project.org
Subject
Re: [R] I might be dumb : a simple question about "foreach"
On Mon, Jul 20, 2009 at 3:14 PM, Olivier
ETERRADOSSI wrote:
> Do you suggest some Windows related behaviour ?
I haven't used Windows for more than te
On Mon, Jul 20, 2009 at 3:14 PM, Olivier
ETERRADOSSI wrote:
> Do you suggest some Windows related behaviour ?
I haven't used Windows for more than ten years, so unfortunately I
have no clue whatsoever. Maybe there are some Windows experts here who
can help you. America is slowly waking up now, so
Thanks Michael
I already tried the curly brackets before my first post... no hope, it
didn't change anything.
Turning %do% into %dopar% didn't work as well...
Do you suggest some Windows related behaviour ?
regards, Olivier
Michael Knudsen-2 wrote:
>
> On Mon, Jul 20, 2009 at 2:48 PM, Olivier
>
On Mon, Jul 20, 2009 at 2:48 PM, Olivier
ETERRADOSSI wrote:
>> x <- foreach(i = 1:3) %do% sqrt(i)
>
> and get :
>>
>> Erreur dans sqrt(i) : indice hors limites ( i.e. "error in sqrt(i) : index
>> out of bounds")
I once got similar errors because I didn't encapsulate the part af
%do% or %dopar% i
Hi list,
My attention was drawn to the foreach package by recent posts...I
decided to have a look...
I'm using R.2.9.1 on Windows, I have downloaded the foreach package
today (v 1.2.1), together with iterators (v. 1.0.1) and codetools (v.0.2-2).
Full of hope I try the most simple thing of all ou
9 matches
Mail list logo