[R] Best way to setClass and setMethod for an R package?

Uwe Ligges ligges at statistik.tu-dortmund.de
Sun Aug 21 14:56:09 CEST 2011



On 21.08.2011 00:48, Jonathan Greenberg wrote:
> Folks:
>
> I'm putting together an R package, and I was wondering where,
> specifically, I put both class definitions (via setClass) as well as
> setMethod calls?  Is there a particular file name I need to use?

No, any file name, e.g.
.../name_of_your_package/R/Name_of_your_class.R


Uwe Ligges



> Thanks!
>
> --j
>



More information about the R-help mailing list