Re: [R] S4 : package creation

2008-03-25 Thread Robin Hankin
One other reference is the vignette in the Brobgingnag package; this is a cookbook approach that gives step-by-step instructions on how to build a simple package using S4 methods. rksh On 21 Mar 2008, at 17:29, Martin Morgan wrote: > Hi Christophe -- > > In terms of documentation, see ?prompt

Re: [R] S4 : package creation

2008-03-21 Thread Martin Morgan
Hi Christophe -- In terms of documentation, see ?promptClass, ?promptMethods. I don't think the description of package creation in 'S4 Classes in 15 pages, more or less' is the way things are generally done these days. A package might normally look like DESCRIPTION NAMESPACE R/AllClasses.R R/me

[R] S4 : package creation

2008-03-20 Thread Christophe Genolini
Hi the list, Using S4, how can we create a package? In "S4 Classes in 15 pages, more or less", they put all the classes definition in a function that will be called at the opening of the library and they add "by hand" a Rd file. Is it the only way ? Is there something like "S4.package.skeleton"