From cstrato at aon.at  Thu Mar 22 23:52:01 2007
From: cstrato at aon.at (cstrato)
Date: Thu, 22 Mar 2007 23:52:01 +0100
Subject: [Rd] how to use debug.mypkg
In-Reply-To: <5BDFDBB7-9AE2-4410-916A-3A17FA4DD3E9@jhsph.edu>
References: <46030191.30006@aon.at>
	<5BDFDBB7-9AE2-4410-916A-3A17FA4DD3E9@jhsph.edu>
Message-ID: <46030891.3030207@aon.at>

Yes, I know, but somewhere in my package I need to define this flag.
When I set the flag "debug.mypkg<-T" in the R session, everything works,
but the problem is that if I do not set it, it is undefined. So I need 
to set it
initially in my package, but where?

Christian

Benilton Carvalho wrote:
> debug.affy123 is not a function... it's just a logical flag set in 
> ProgressBarText.R.
>
> b
>
> On Mar 22, 2007, at 6:22 PM, cstrato wrote:
>
>> Dear all,
>>
>> The package "affy" has the following statement in file "AffyBatch.R":
>> if (debug.affy123) cat("-->initAffyBatch\n")
>>
>> This is great and I would also like to use it. However, when I run my
>> package
>> I get the following error:
>> Error in .local(object, ...) : object "debug.mypkg" not found
>>
>> Since I am not able to find the position where "affy" defines
>> "debug.affy123"
>> my question is: where do I need to  define "debug.mypkg"?
>>
>> Thank you in advance
>> Best regards
>> Christian
>> _._._._._._._._._._._._._._._._
>> C.h.i.s.t.i.a.n S.t.r.a.t.o.w.a
>> V.i.e.n.n.a       A.u.s.t.r.i.a
>> _._._._._._._._._._._._._._._._
>>
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>



[Rd] how to use debug.mypkg
cstrato