Thank you very much!!! Next time, if I know you are going to read the e-mail; I make sure to include an explanation in the form of an answer to any issue that I'm inquiring about.
On Sat, Oct 3, 2009 at 9:17 PM, Duncan Murdoch <murd...@stats.uwo.ca> wrote: > On 03/10/2009 8:53 PM, Antonio Paredes wrote: > >> Hello everyone, >> >> When I run a for loop I noticed that the looping variable gets assigned >> the >> last value in the loop: >> >> For example, if I let h=200, and I run >> >> for(i in 1:h), >> >> i gets the value 200. What's wrong here? >> > > Nothing? > > Duncan Murdoch > > > -- -Tony [[alternative HTML version deleted]] ______________________________________________ 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.