search for: removemethod

Displaying 7 results from an estimated 7 matches for "removemethod".

Did you mean: remove_method
2005 Jan 30
1
S4 packages and .Rdata file.
Dear developers. Have spend just 1 h searching for a bug in a new version of a new version of a package. I was getting a segfault all the time. "Funny" thing - there was no error neither in the S nor in the C code. To solve the problem I had to delete the .Rdata file! What I observed. If the .Rdata file was generated while a previous release of a package was installed in the
2009 Jun 11
0
S4 Package with definition of method 'names'
...However 'R CMD check ' for building a package fails with Error in setMethod(f, signature, NULL, where = where) : the method for function "names" and signature ="" is sealed and cannot be re-defined Calls: <Anonymous> ... sys.source -> eval -> eval -> removeMethod -> setMethod Execution halted make[2]: *** [lazyload] Error 1 make[1]: *** [all] Error 2 make: *** [pkg-DAP] Error 2 This is somewhat confusing since it works nicely if pasted into R. Any Ideas Thank you for your time Thomas Roth
2009 Jun 15
1
S4: Bug in group method defenition ("Compare")
...] TRUE FALSE selectMethod(">=",c(class(2),class(o)),optional=T) ### Shows real method!!!!! #function (e1, e2) #{ # callGeneric(e1, e2 at range) #} # #Signatures: # e1 e2 #target "numeric" "foo" #defined "ANY" "foo" removeMethod("Compare",c(e1="ANY",e2="foo")) #[1] TRUE 2>o ##Called from: 2 > o ### What?? Even after removing method the first defined ### method is still there!!!! #Browse[1]> #[1] TRUE FALSE I tried this under Windows Xp in 2.8 and 2.9.0. Vitalie.
2010 Feb 26
2
New methods for generic functions show and print : some visible with ls(), some not
Dear all, I'm trying to understand the S4 way of object-oriented programming, but I still can't grasp completely what R is doing. I have a class definition for a class called PM10Meteo, and I set a initializer function. next, I include a show method and a print method as shown below. setClass( Class="PM10Meteo",...) # end setClass setMethod
2006 May 22
2
confused by inheritance...
Hi r-devels, I am stuck in some S4 inheritance problem: setClass("A",representation(a="numeric")) setClass("A1",representation(b="numeric"),contains="A") setClass("A2",representation(c="numeric"),contains="A1") if(!isGeneric("foo")){ setGeneric("foo", function(x,y,z, ...)
2003 Apr 16
2
R-1.7.0 is released
...g zero col/row matrices correctly. (PR#2541 was one symptom.) o approx() and approxfun() now work with 1 knot if method = "constant". stepfun(), ecdf() and plot.stepfun() do so as well. o AIC.lm/default was failing if multiple objects and k were specified. (PR#2518) o removeMethods{methods} was broken. (PR#2519) o summary.glm() had two `aic' components in the returned object. o autoload() was returning the value of its last command, a promise, even though it was documented to have no value. As a result some packages (e.g. nlme) were loading packages they mea...
2003 Apr 16
2
R-1.7.0 is released
...g zero col/row matrices correctly. (PR#2541 was one symptom.) o approx() and approxfun() now work with 1 knot if method = "constant". stepfun(), ecdf() and plot.stepfun() do so as well. o AIC.lm/default was failing if multiple objects and k were specified. (PR#2518) o removeMethods{methods} was broken. (PR#2519) o summary.glm() had two `aic' components in the returned object. o autoload() was returning the value of its last command, a promise, even though it was documented to have no value. As a result some packages (e.g. nlme) were loading packages they mea...