From bcarvalh at jhsph.edu  Wed Mar 28 06:39:27 2007
From: bcarvalh at jhsph.edu (Benilton Carvalho)
Date: Wed, 28 Mar 2007 00:39:27 -0400
Subject: [Rd] accessing "hidden" functions
Message-ID: <5CA14556-E1F2-4B9D-A1EE-59818DA67FB9@jhsph.edu>

Hi,

(I tried looking for it, but I don't think it was discussed before...  
or maybe I didn't use the correct keywords).

I have a package (say, pkg1), which uses NAMESPACE. This package  
contains a bunch of functions the are used internally, therefore  
they're not exported (say, internalFunc1).

Even though internalFunc1 is not exported, I can access it externally  
using pkg1:::internalFunc1 (yes, I do understand this is not supposed  
to be done).

Okay... now I have a second internal function, which starts with a  
dot (eg, ".internalFunc2").

Is there a way of accessing it without exporting it (or exposing it  
by removing the "dot")? ie, something like pkg1:::.internalFunc2 ?

thanks a lot,

beniton



[Rd] accessing "hidden" functions
Benilton Carvalho