Re: [R] Functions in a package not visible to a user

From: Roger D. Peng <rpeng_at_jhsph.edu>
Date: Fri 16 Jul 2004 - 12:30:10 EST

The old way was to define the internal functions inside the functions that used them. Nowadays it's better to use a namespace. `R CMD check' will only check code/docs for exported functions so non-exported/internal functions don't need to have a help file.

-roger

Rui Dantas wrote:
> Dear all,
> Sorry if this is obvious, but I couldn't find the answer in any place I
> looked.
> I have a package with several R functions. Some are internal auxiliary
> functions, and should not be available to the user (nor do they, for
> example, need "user" documentation). How can I hide them?
>
> Best regards,
> Rui Dantas
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
>
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>



R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Jul 16 12:45:23 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:55:00 EST