[R] I might be dumb : a simple question about "foreach"

Olivier ETERRADOSSI olivier.eterradossi at ema.fr
Mon Jul 20 15:49:28 CEST 2009


Robert, and everybody :
sorry I didn't say I run Windows XP pro version 2002, Service Pack 3
Thank you, regards to all. Olivier


Robert Kinley wrote:
> 
> Your code runs fine on my windows hp machine ( XP - sp2, R.2.9.1 )
> 
>> x <- foreach(i = 1:3) %do% sqrt(i)
>> x
> [[1]]
> [1] 1
> 
> [[2]]
> [1] 1.414214
> 
> [[3]]
> [1] 1.732051
> 
> 
> Are you on Vista , maybe ? 
> 
> ~~~~~~~~ 
> Robert  Kinley
> 
>  
> 
> 
> 
> Michael Knudsen <micknudsen at gmail.com> 
> Sent by: r-help-bounces at r-project.org
> 20/07/2009 14:23
> 
> To
> Olivier ETERRADOSSI <olivier.eterradossi at ema.fr>
> cc
> r-help at 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<olivier.eterradossi at ema.fr> 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 cross your fingers
> :-)
> 
> -- 
> Michael Knudsen
> micknudsen at gmail.com
> http://lifeofknudsen.blogspot.com/
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 
> 

-- 
View this message in context: http://www.nabble.com/I-might-be-dumb-%3A-a-simple-question-about-%22foreach%22-tp24569290p24570254.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list