[Rd] S4: dumpMethod (PR#11053)
ripley at stats.ox.ac.uk
ripley at stats.ox.ac.uk
Mon Mar 31 09:00:19 CEST 2008
This was already addressed in the current version of R (2.7.0 alpha).
You probably also want to look at how package.skeleton() handles S4
objects in that version of R.
Please read up on what the FAQ asks you to do before submitting a bug, and
in particular it says
Third, if possible try the current r-patched or r-devel version of R.
If a bug has already been reported or fixed, please do not submit
further bug reports on it.
On Sat, 29 Mar 2008, cgenolin at u-paris10.fr wrote:
> Full_Name: Christophe Genolini
> Version: 2.6.2
> OS: Windows XP
> Submission from: (NULL) (82.225.59.146)
>
>
> *This is a mail that I post on r-help: *
Not recently.
>>> It seems that the dumpMethod does not work.
>
> setClass("A",representation(a="numeric"))
> setMethod("plot","A",function(x,y,...){cat("AAAAA\n")})
> dumpMethod("plot","A",file="")
> #setMethod("plot", "A",
> #NULL
> #)
> #[1] ""
>
>> Answer from Martin Maechler
>
>> dumpMethod() has not been updated when the internal method
>> definition (and storage) code has been changed.
>> Consequently, it looks pretty broken to me, as well.
>>
>> OTOH, I have never seen any need to use it,
>> since I only work with *.R files which I write and comment and ..
>> and never would want to replace with anything dumped...
>>
>> Do you want to submit a (legitimate (!)) bug report to R-bugs ?
>
> Well, I did not submit a bug concerning a (may be) useless method...
> But today, I find it usefull: "package.skeleton" use dump.
> So a "package.skeleton.S4" might need dumpMethod...
>
> Christophe
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-devel
mailing list