Late report is better than never isn't it? :)

>     > Well,... you forgot to show the error (and the traceback) :
>

Apologies, I usually include them (and sessionInfo ...).


>
>     > Note that this problem is somewhat dependent on the use of the
>     > infamous "matrix" class {not properly defined as a class in S3,
>     > as it may or may not have dimnames, and then tried to be made S4
>     > compatible "as well as possible" in the methods package, see
>

Ok. What I want to do is to define a class in my namespace that gather some
matrix-like classes so that I can define a set of common functions for them.
Initially I want matrix and ExpressionSet objects, and possibly add array
objects later.
Union classes seem to be exactly the way to go, but maybe there is an
alternative?



>
>     > Of course, I could not have thought of a realistic situation
>     > where this was a problem, but then you exemplify one :
>
>     >> Hadley, this is problematic for devtools, because load_all tries to
> cleanup
>     >> S4 classes when an error occurs when loading a development package
> and
>     >> crashes with no hint on the original error.
>
>
I guess a quick fix for devtools, would be to wrap the cleanup procedure
into a try or tryCatch (Hadley?).


Thanks,
Renaud

        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to