[Rd] Advice on Namespaces

From: Bert Gunter <gunter.berton_at_gene.com>
Date: Mon, 10 Sep 2012 09:11:28 -0700

Hi Folks:

I'm writing a little package that may not ever hit CRAN or even be distributed beyond a relatively narrow audience at my company. Nevertheless, I have tried to adhere to practices that would work if it were. With that in mind, I have read the Writing R Extensions Manual (and my humble kudos to its writers, as it has successfully guided even an ignoramus like myself ) and Luke Tierney's R Newsletter documentation on Namespaces. However, it is still not clear to me (see above ignoramus comment!) what functions -- and especially which S3 methods whose generics I define in my package -- should be exported and which should not. Perusing other packages also didn't reveal any clear patterns from which I could infer best practice.

So may I ask for advice or any references that would provide such guidelines. Feel free to keep replies private if this query in not appropriate for this list. Many thanks.



Bert Gunter
Genentech Nonclinical Biostatistics

Internal Contact Info:
Phone: 467-7374

R-devel_at_r-project.org mailing list
Received on Tue 11 Sep 2012 - 08:08:18 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

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 Tue 11 Sep 2012 - 14:10:42 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive