Raw Message
Message-ID: <20051029100313.48427.qmail@web34711.mail.mud.yahoo.com>
Date: 2005-10-29T10:03:13Z
From: Martin Lam
Subject: How to print output during for loops?
Hi,
I was wondering, if it is possible to print out the
values of variables while you are in a for/while loop?
Like this for example:
for (i in 1:5) {
i
}
So what I want is this as output in the console:
>1
>2
>3
>4
>5
Thanks in advance,
Martin