From bcarvalh at jhsph.edu  Fri Mar 23 02:37:14 2007
From: bcarvalh at jhsph.edu (Benilton Carvalho)
Date: Thu, 22 Mar 2007 21:37:14 -0400
Subject: [Rd] how to use debug.mypkg
In-Reply-To: <46030891.3030207@aon.at>
References: <46030191.30006@aon.at>
	<5BDFDBB7-9AE2-4410-916A-3A17FA4DD3E9@jhsph.edu>
	<46030891.3030207@aon.at>
Message-ID: <B0F5F7FF-89D9-46EF-B7D4-EA3D363D9A68@jhsph.edu>

it doesn't matter where..

just pick one of your files and set it...

of course, your file should be listed in the Collate field (in case  
you changed your mind and are now using it).

b

On Mar 22, 2007, at 6:52 PM, cstrato wrote:

> 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
Benilton Carvalho