Re: [R] output values from within a function

2010-08-25 Thread Greg Snow
--- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of Maas James Dr (MED) > Sent: Friday, August 20, 2010 7:41 AM > To: r-help@r-project.org > Subject: [R] output values from within a function > > Is it possible to get R to output the value

Re: [R] output values from within a function

2010-08-20 Thread Erik Iverson
Maas James Dr (MED) wrote: Is it possible to get R to output the value of an expression, that is being calculated within a function? I've attached a very simple example but for more complicated ones would like to be able to debug by seeing what the value of specific expressions are each time i

[R] output values from within a function

2010-08-20 Thread Maas James Dr (MED)
Is it possible to get R to output the value of an expression, that is being calculated within a function? I've attached a very simple example but for more complicated ones would like to be able to debug by seeing what the value of specific expressions are each time it cycles through a loop that