Re: [R] Print and supressing printing in function

2006-09-24 Thread Marc Schwartz
On Sun, 2006-09-24 at 11:31 -0700, Jonathan Greenberg wrote: Another newbie question for you all: In a function, say I have: countme - function() { for(i in 1:10) { i } } How do I get R to print i as it runs (e.g. By calling countme) -- right now it seems to supress most output. On

Re: [R] Print and supressing printing in function

2006-09-24 Thread Sundar Dorai-Raj
Marc Schwartz said the following on 9/24/2006 1:56 PM: On Sun, 2006-09-24 at 11:31 -0700, Jonathan Greenberg wrote: Another newbie question for you all: In a function, say I have: countme - function() { for(i in 1:10) { i } } How do I get R to print i as it runs (e.g. By calling

Re: [R] Print and supressing printing in function

2006-09-24 Thread Marc Schwartz
On Sun, 2006-09-24 at 14:14 -0500, Sundar Dorai-Raj wrote: Marc Schwartz said the following on 9/24/2006 1:56 PM: On Sun, 2006-09-24 at 11:31 -0700, Jonathan Greenberg wrote: Another newbie question for you all: In a function, say I have: countme - function() { for(i in 1:10) {