Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
801.408.8111
> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of onyourmark
> Sent: Saturday, May 02, 2009 5:59 AM
> To: r-help at r-project.org
> Subject: [R] print value of variable to screen or alert box?
>
>
> I am trying to debug a loop. Is there a way to print the value of a
> variable
> that is inside a loop? I have a vector v and inside a loop I have v[i]
> where
> i is the index of the loop. Is there a way to see v[i] per loop so that
> I
> can see what is going on?
> Thanks
> --
> View this message in context: http://www.nabble.com/print-value-of-
> variable-to-screen-or-alert-box--tp23345523p23345523.html
> Sent from the R help mailing list archive at Nabble.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.