Hello ! there's a S3 method called start (and end too) to be used with objects of class ts (package stats). I am writing a S4 class for which I would like to use this function start, so that start with a ts calls the former method and start with my S4 class (called MA) calls the function I want. For the 'plot' command I do : setGeneric("plot",function(x,y,...) standardGeneric("plot")) and setMethod("plot",signature(x="MA",y="ANY"),function(x,y,...) plotMA(x,y,...)) and it works just fine.
When I try this with start, I does not work at all : the old function and the new do not work. I get an error during the check and when I execute commands, the error is like evaluations are too deeply nested (I'm not sure of the translation). I've tried to look for information (in mailing lists, WRE, Rlang,...), but i'm kinda lost... Any help appreciated ! Thanks [[alternative HTML version deleted]] ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel