Re: [R] Problem with a global variable

2007-12-04 Thread Duncan Murdoch
On 04/12/2007 12:51 AM, Thomas L Jones, PhD wrote: > From: Thomas Jones > > I have several user-defined functions. As is standard practice, I am > defining a logical vector named idebug in order to control debugging > printouts. For example, if idebug [1] has the value TRUE, such-and-such > deb

Re: [R] Problem with a global variable

2007-12-03 Thread Gabor Grothendieck
You may wish to use the options command. You can create your own options, not just use pre-existing ones. Please read the last line of every message to r-help. On Dec 4, 2007 12:51 AM, Thomas L Jones, PhD <[EMAIL PROTECTED]> wrote: > From: Thomas Jones > > I have several user-defined functions.

[R] Problem with a global variable

2007-12-03 Thread Thomas L Jones, PhD
From: Thomas Jones I have several user-defined functions. As is standard practice, I am defining a logical vector named idebug in order to control debugging printouts. For example, if idebug [1] has the value TRUE, such-and-such debugging printouts are enabled. After the function works, some or