Skip to content
Prev 25358 / 398502 Next

simple for loop

"i" just contains a string.  What you want is the object with that name,
which is what get() gives you.  Do read the help page for get().

Andy

-----Original Message-----
From: Stephan Holl [mailto:sholl at gmx.net]
Sent: Saturday, November 16, 2002 2:42 AM
To: r-help at stat.math.ethz.ch
Cc: Liaw, Andy
Subject: Re: [R] simple for loop
At Fri, 15 Nov 2002 20:34:28 -0500 Liaw, Andy wrote:
Hello Andy,
this works so far, but could you please give my a hint what I did wrong?
what does the get() do ?

I was struggeling inside some other for loops, and it seems that there
was another get() missing.
So do I have to use the get() always inside a loop in order to "get" the
correct i-values pasted in ?

Thank you
cheers
  Stephan