Re: [R] Hiding a function

From: Gabor Csardi <>
Date: Sat, 23 Feb 2008 12:10:14 +0100

It depends what you mean by 'hiding', you can start the function names with a dot and then they are not listed by ls(), so this is kind of hiding.

> .a <- function() TRUE
> ls()

> .a

function() TRUE

Personally i would not do this though.


On Sat, Feb 23, 2008 at 11:58:57AM +0100, Christophe Genolini wrote: [...]
> If I understand, it is possible only in a package, not in a programme
> (unless the "other ways"), is that it ?
> Ok, thanks.

Csardi Gabor <>    UNIL DGM

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Sat 23 Feb 2008 - 11:26:47 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 23 Feb 2008 - 13:30:15 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive