The lines below made me understand clearly. Maybe they are already in
some documentation,
but if not, it might help others to avoid my misunderstanding.
Thanks to all for the clarifications.
-- David


-----Original Message-----
From: Duncan Murdoch [mailto:murd...@stats.uwo.ca] 
Sent: Thursday, January 29, 2009 9:54 AM
To: David Reiner <dav...@rhotrading.com>
Cc: Henrik Bengtsson; r-help@r-project.org; SnowManPaddington
Subject: [SPAM] - Re: [R] scoping rules for 'for' [was - Re: for/if loop
] - Found word(s) list error in the Text body

<snip>
  Feel free to do what you like to the variable within the 
loop (though you might cause Luke to grind his teeth when it messes up 
his compiler).  It will be set to the next value in the 1:10 vector the 
next time it comes back to the top.

<snip>

Duncan Murdoch

______________________________________________
R-help@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.

Reply via email to