[R] S4 class and Package NAMESPACE [NC]

From: Sylvain ARCHENAULT <sylvain.archenault_at_sgcib.com>
Date: Fri, 25 Jul 2008 15:40:42 +0200


Hello,

I am trying to make a R package with S4 classes. To do so, i do as usual (when no S4 were involved, i.e without NAMESPACE file) and I've got errors in class refering to other classes in the package. So I use a NAMESPACE file to declare classes, it works fine, but now I have to declare each functions in the NAMESPACE file. Since I have a lot of functions, it's not very easy.

Is there a way to exports all methods in one statement ? or is there a tool which can help generating the NAMESPACE file ?

Thanks for your help,
Sylvain.

PS: Could you please CC me in your replies since I do not subscribe to the list.



This message and any attachments (the "message") are con...{{dropped:15}}

R-help_at_r-project.org mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 25 Jul 2008 - 15:21:38 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 Fri 25 Jul 2008 - 16:32:21 GMT.

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

list of date sections of archive