search for: findinheritedmethod

Displaying 12 results from an estimated 12 matches for "findinheritedmethod".

Did you mean: findinheritedmethods
2006 Oct 26
1
Pb with .findInheritedMethods
...do: tmp1 <- new("Abc") tmp2 <- new("Abcd") I get the following warning: Warning message: Ambiguous method selection for "initialize", target "Abcd" (the first of the signatures shown will be used) Abc Ab in: .findInheritedMethods(classes, fdef, mtable) I don't really understand why .findInheritedMethods is complaining here... And if I don't do 'tmp1 <- new("Abc")' before I do 'tmp2 <- new("Abcd")', then I don't get the warning anymore! Does anybody have an explanation...
2007 Jun 19
1
Matrix library error: "should never happen; please report"
...teger column number should never happen; please report In addition: Warning messages: 1: Ambiguous method selection for "%*%", target "ddiMatrix#dgCMatrix" (the first of the signatures shown will be used) diagonalMatrix#CsparseMatrix ddenseMatrix#CsparseMatrix in: .findInheritedMethods(classes, fdef, mtable) I got 4 other copies of the same warning. Will play around a bit more... This is really strange. Thanks -- Jose Quesada, PhD. http://www.andrew.cmu.edu/~jquesada
2015 May 04
2
Problem with adding slots to S4 object
Dear all, I'm trying to create a virtual S4 class with some subclasses. I noticed that adding slots to this class increases the memory use and slows the functions down. Note that I'm adding very small slots (integer or character both of length 1). I've made a reproducible example at https://github.com/ThierryO/testvirtualclass. The R CMD check --as-cran fails on the tests. Some of
2015 May 05
1
Problem with adding slots to S4 object
...ding of > S4 enlight me on what is happening. And on what I am doing wrong? > > Best regards, > > Thierry > > $by.self > self.time self.pct total.time total.pct > "paste" 166.06 90.98 170.54 93.44 > ".findInheritedMethods" 9.30 5.10 182.38 99.92 > "rep.int" 2.24 1.23 4.48 2.45 > ":" 2.24 1.23 2.24 1.23 > "unique.default" 1.42 0.78 1.42 0.78 > "matc...
2015 May 05
0
Problem with adding slots to S4 object
...ternals of R. Could someone with more understanding of S4 enlight me on what is happening. And on what I am doing wrong? Best regards, Thierry $by.self self.time self.pct total.time total.pct "paste" 166.06 90.98 170.54 93.44 ".findInheritedMethods" 9.30 5.10 182.38 99.92 "rep.int" 2.24 1.23 4.48 2.45 ":" 2.24 1.23 2.24 1.23 "unique.default" 1.42 0.78 1.42 0.78 "match"...
2018 Nov 03
1
odd NOTE in R CMD check of data; Rcpp module related
...maintain), R CMD check on packages "soilDB" and "PopGenReport" have this NOTE: Package: soilDB Check: data for non-ASCII characters New result: NOTE Error in .requirePackage(package) : unable to find required package 'raster' Calls: <Anonymous> ... .findInheritedMethods -> getClass -> getClassDef -> .requirePackage Execution halted In soiDB this is presumably triggered by loading this file: > f <- system.file("data/gSSURGO.chunk.rda", package="soilDB") > "raster" %in% .packages() [1] FALSE > load(f) > g...
2006 Sep 15
1
setMethod() woes
...=a,imag=a) > a+b Error in a + b : binary operator " + " not defined for Brobdingnagian numbers In addition: Warning message: Ambiguous method selection for "+", target "brob#glub" (the first of the signatures shown will be used) brob#ANY ANY#glub in: .findInheritedMethods(classes, fdef, mtable) I don't understand what to do to avoid getting the warning message [and it's also using the wrong function: I want it to call .ArithGlub() here, not .ArithBrob() ] I need to use signature(e1="brob", e2="anything except a glub") but I can'...
2008 Aug 27
1
S4 coercion
...hod selection for \"%s\", target \"%s\"", "(the first of the signatures shown will be used)\n%s\n"), fdef at generic, .sigLabel(classes), paste(" ", names(methods), collapse = "\n")), domain = NA, call. = FALSE) 10: .findInheritedMethods(signature, fdef, mtable = allmethods, table = mlist, useInherited = useInherited, verbose = verbose) 9: selectMethod("coerce", sig, optional = TRUE, c(from = TRUE, to = FALSE), fdef = coerceFun, mlist = coerceMethods) 8: as(obj, "integer") 7: isIdCurrent(con) 6: p...
2011 Oct 10
1
pmml for random forest & rules
...;size", for signature "itemMatrix" With this traceback: > traceback() 5: stop("unable to find an inherited method for function \"", fdef at generic, "\", for signature ", cnames) 4: function (classes, fdef, mtable) { methods <- .findInheritedMethods(classes, fdef, mtable) if (length(methods) == 1L) return(methods[[1L]]) else if (length(methods) == 0L) { cnames <- paste("\"", sapply(classes, as.character), "\"", sep = "", collapse = ", ")...
2010 Apr 22
2
R2.11.0 - rasterImage() and barplot fill-patterns
...be ignored. > > o Trying to dispatch S4 methods for primitives during the search > for inherited methods slows that search down and potentially > could cause an infinite recursion. An internal switch was > added to turn off all such methods from > findInheritedMethods(). > > o R framework installation (on Mac OS X) would not work properly > if a rogue Resources directory was present at the top level. > Such a non-symlink will now be renamed to Resources.old (and > anything previously named Resources.old removed) as part...
2010 Apr 22
0
R 2.11.0 is released
...the generic will now be ignored. o Trying to dispatch S4 methods for primitives during the search for inherited methods slows that search down and potentially could cause an infinite recursion. An internal switch was added to turn off all such methods from findInheritedMethods(). o R framework installation (on Mac OS X) would not work properly if a rogue Resources directory was present at the top level. Such a non-symlink will now be renamed to Resources.old (and anything previously named Resources.old removed) as part of the frame...
2010 Apr 22
0
R 2.11.0 is released
...the generic will now be ignored. o Trying to dispatch S4 methods for primitives during the search for inherited methods slows that search down and potentially could cause an infinite recursion. An internal switch was added to turn off all such methods from findInheritedMethods(). o R framework installation (on Mac OS X) would not work properly if a rogue Resources directory was present at the top level. Such a non-symlink will now be renamed to Resources.old (and anything previously named Resources.old removed) as part of the frame...