[R] Need Advice: Considering Converting a Package from S3 to S4
    Ben Bolker 
    bolker at ufl.edu
       
    Tue Aug 11 00:23:07 CEST 2009
    
    
  
library(fortunes)
fortune("S4")
Sean Davis: It got me going quickly with S4 methods, which it seems to me
are
the way to go in most cases.
Rolf Turner: If you want to simultaneously handcuff yourself, strap yourself
into a strait jacket, and tie yourself in knots, and moreover write code
which
is incomprehensible to the human mind, then S4 methods are indeed the way to
go.
   -- Sean Davis and Rolf Turner (expressing different views about the
benefits
      of S4 classes)
      R-help (May 2005)
   I will say that I have built a package using S4 classes and find it much
more
difficult to deal with debugging, etc. -- I can never remember the precise
incantation
to find out which methods are available and how to trace() them.  (And
documenting
them is harder too -- it's much easier to not-really-document S4 classes in
a package
and get away with it.)
  Ben Bolker
-- 
View this message in context: http://www.nabble.com/Need-Advice%3A-Considering-Converting-a-Package-from-S3-to-S4-tp24901482p24908609.html
Sent from the R help mailing list archive at Nabble.com.
    
    
More information about the R-help
mailing list