search for: fdef

Displaying 20 results from an estimated 117 matches for "fdef".

Did you mean: ifdef
2014 Nov 25
0
problem with setGroupGeneric from package methods
...e) if (!is 4: tryCatchList(expr, classes, parentenv, handlers) 5: tryCatchOne(expr, names, parentenv, handlers[[1]]) 6: doTryCatch(return(expr), name, parentenv, handler) 7: loadNamespace(package, c(which.lib.loc, lib.loc)) 8: methods:::cacheMetaData(ns, TRUE, ns) 9: .updateMethodsInTable(fdef, where, attach) 10: .updateMethodsInTable(getGeneric(g), where, attach) 11: .setupMethodsTables(generic) ============================================== On a different Linux machine and R version (the standard faculty wide installation), library(pctsData) completes fine but package "grgen&qu...
2008 Mar 20
2
Error in function (classes, fdef, mtable): unable to find an inherited method for function "indexProbes", for signature "exprSet", "character"
..., use ExpressionSet instead 3: The phenoData class is deprecated, use AnnotatedDataFrame (with ExpressionSet) instead > RInormalizedData<-normalize.AffyBatch.invariantset(eSet,prd.td=c(0.003, > 0.007),baseline.type="mean",type="together") Error in function (classes, fdef, mtable) : unable to find an inherited method for function "pmindex", for signature "exprSet" I have observed that this same error message has been posted and answered in a different context in this forum. Even though I am not using the S4 class and method concepts here, I...
2015 Jan 29
3
[Q] Get formal arguments of my implemented S4 method
...t of thing, and returns the standard formals for the generic if this method does not have nonstandard arguments. We should probably add a version of this function for 3.3.0, so user code doesn't have hacks around the current hack. methodFormals <- function(f, signature = character()) { fdef <- getGeneric(f) method <- selectMethod(fdef, signature) genFormals <- base::formals(fdef) b <- body(method) if(is(b, "{") && is(b[[2]], "<-") && identical(b[[2]][[2]], as.name(".local"))) { local <- eval(b[[2]]...
2011 Oct 10
1
pmml for random forest & rules
...un these lines of code data("Adult") ## Mine association rules. rules <- apriori(Adult, parameter = list(supp = 0.5, conf = 0.9, target = "rules")) pmml(rules) I get this error: > pmml(rules) Error in function (classes, fdef, mtable) : unable to find an inherited method for function "size", for signature "itemMatrix" With this traceback: > traceback() 5: stop("unable to find an inherited method for function \"", fdef at generic, "\", for signature ", cna...
2006 Nov 05
1
lme4 install error
...s before; this is the first time I''ve had a problem. The full error message for lme4 can be seen at: http://www.ling.uni-potsdam.de/~vasishth/screen.txt One other unusual thing was that there were many warning messages during the Matrix install. ... Warning in matchSignature(signature, fdef, where) : in the method signature for function "coerce" no definition for class: "matrix.csr" Warning in matchSignature(signature, fdef, where) : in the method signature for function "coerce" no definition for class: "matrix.csr" Warning in matchSignatur...
2008 Aug 27
1
S4 coercion
...will be used)\n PostgreSQLConnection#integer\n dbObjectId#integer\n", quote(NULL)) 11: warning(gettextf(paste("Ambiguous method 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("coe...
2012 Dec 21
1
improved methods error
While trying to install a package, I received this error ** preparing package for lazy loading Error in matchSignature(signature, fdef, where) : more elements in the method signature (2) than in the generic signature (1) A more helpful variant is Error in matchSignature(signature, fdef, where) : more elements in the method signature (2) than in the generic signature (1) for function 'sort' which comes from (incl...
2010 Feb 06
1
Posting an 'S4-creating Package Problem'...
Hello R-Team, May you help me to post a 'S4-creating Package Problem'? Thanks already now for supporting. The problem sounds like: Hello R forum, while compiling my R-package these 'Warnings' occur: ... Warnung in matchSignature(signature, fdef, where) : in the method signature for function "plot" no definition for class: "prediction" Warnung in matchSignature(signature, fdef, where) : in the method signature for function "plot" no definition for class: "validation" ** help *** installing he...
2015 Jan 29
2
[Q] Get formal arguments of my implemented S4 method
...rmals for the generic if this method does not have nonstandard > arguments. We should probably add a version of this function for 3.3.0, so > user code doesn't have hacks around the current hack. > > > > methodFormals <- function(f, signature = character()) { > > fdef <- getGeneric(f) > > method <- selectMethod(fdef, signature) > > genFormals <- base::formals(fdef) > > b <- body(method) > > if(is(b, "{") && is(b[[2]], "<-") && identical(b[[2]][[2]], as.name(".local&qu...
2004 Sep 09
1
Confused about loading other packages from a package
...he marray package. After building and installing my package, I get the following warnings when I load my package (with library(maVis)): Warning messages: 1: In the method signature for function "plot", class "marrayRaw" has no current definition in: matchSignature(signature, fdef, where) 2: In the method signature for function "plot", class "marrayRaw" has no current definition in: matchSignature(signature, fdef, where) (but everything appears to work ok regardless). I have tried require(marray) both inside and outside of the .onLoad method. I presume...
2012 Jun 14
1
readHTMLTable function - unable to find an inherited method ~ for signature "NULL"
Hi R experts, I have been playing with library(XML) recently and found out that readHTMLTable workls flawlessly for some website, but it does give me an error like below ... Error in function (classes, fdef, mtable) : unable to find an inherited method for function "readHTMLTable", for signature "NULL" let's say..for example, this code works fine a <-"http://www.zam.com/forum.html?forum=21&p=2" table_a <- readHTMLTable(a, header = TRUE, which = 1, string...
2009 Mar 10
5
Cholesky Decomposition in R
...ction Cholesky(A) doesnt work,any one know other command to decomposte A in to LDL' My r code is: library(Matrix) A=matrix(c(1,1,1,1,5,5,1,5,14),nrow=3) > chol(A) [,1] [,2] [,3] [1,] 1 1 1 [2,] 0 2 2 [3,] 0 0 3 > Cholesky(A) Error in function (classes, fdef, mtable) : unable to find an inherited method for function "Cholesky", for signature "matrix" whatz wrong??? thanks~ [[alternative HTML version deleted]]
2007 Aug 03
2
RSPython won't load in R 2.6.0 under Linux
I can compile RSPython without difficulty, been when I try to load it, I get the error messages below. Also below are some cryptic warnings I get on R boot (in case these are pertinent) and my sessionInfo(). Any help is appreciated. Thanks, Mark Warning messages: 1: In .updateMethodsInTable(fdef, where, attach) : Couldn't find methods table for "conditional", package "Category" may be out of date 2: In .updateMethodsInTable(fdef, where, attach) : Methods list for generic "conditional" not found > require(RSPython) Loading required package: RSPyt...
2009 Jul 14
1
Error when sampling from SpatialLines
...roblem, however when I am trying to sample from the file I get the following message:   nwlim<-readShapeLines("C:/Limburg_nwshape", proj4string=CRS("+init=epsg:31300")) plot(nwlim)   randacc<-spsample(nwlim,n=1000,"random") Error in function (classes, fdef, mtable)  :   unable to find an inherited method for function "coordinates", for signature "numeric"     I found a similar error message in the archives, where prof. dr. Bivand indicated to try to use readOGR instead of readShapeLines, however, I get the same error messa...
2007 Aug 09
1
tcltk error on Linux
...ry in my PATH, but R doesn't seem to see it. I also have installed tk on my system. Any ideas on what the problem is? Also, note that I have some warning messages on starting up R, not sure what they mean or if they are pertinent. Thanks, Mark Warning messages: 1: In .updateMethodsInTable(fdef, where, attach) : Couldn't find methods table for "conditional", package "Category" may be out of date 2: In .updateMethodsInTable(fdef, where, attach) : Methods list for generic "conditional" not found > require(tcltk) Loading required package: tcltk Er...
2009 Sep 22
3
problem using KLdiv - flexmix
I am receiving the following error while executing KLdiv method: kl<-KLdiv(y) Error in function (classes, fdef, mtable) : unable to find an inherited method for function "KLdiv", for signature "data.frame" the code is as follows: require(flexmix) KLdiv(y) the object y (snippet, actual object contains 188 entries) is as follows: s1p5 s2p5 1 0.6 0.8 2 0.8 0.2 3 0.6 0...
2015 Jan 29
1
[Q] Get formal arguments of my implemented S4 method
...eneric if this method does not have nonstandard > arguments. We should probably add a version of this function for 3.3.0, so > user code doesn't have hacks around the current hack. > > > > > > methodFormals <- function(f, signature = character()) { > > > fdef <- getGeneric(f) > > > method <- selectMethod(fdef, signature) > > > genFormals <- base::formals(fdef) > > > b <- body(method) > > > if(is(b, "{") && is(b[[2]], "<-") && identical(b[[2]][[2]], &gt...
2015 Jan 29
0
[Q] Get formal arguments of my implemented S4 method
...d returns the standard formals for the generic if this method does not have nonstandard arguments. We should probably add a version of this function for 3.3.0, so user code doesn't have hacks around the current hack. > > methodFormals <- function(f, signature = character()) { > fdef <- getGeneric(f) > method <- selectMethod(fdef, signature) > genFormals <- base::formals(fdef) > b <- body(method) > if(is(b, "{") && is(b[[2]], "<-") && identical(b[[2]][[2]], as.name(".local"))) { >...
2007 Mar 21
2
RMySQL *was* working...
...f Uwe and some other folks I was able to get RMySQL 0.5-7 compiled against R 2.4.1 and MySQL 5.0.27. It was working fine--I was able to send select queries to the db, put the results in a data frame, and so forth. Today, dbDriver() threw an error: > dbDriver(MySQL) Error in function (classes, fdef, mtable) : unable to find an inherited method for function "dbDriver", for signature "function" There have been no system changes that should concern MySQL, R, or the installed package RMySQL (that is, nothing outside of unrelated software such as firefox auto-updatin...
2006 Nov 28
2
Problem with pairs() in nlme
...ect "form" not found Any guesses as to what I may have done wrong? vfr is not a grouped object because: vfrg <- groupedData(estimate ~ slant | subject, data = vfr) vfrg.lmL <- lmList( estimate ~ (slant + respType + visField + hand)^2 | subject, vfrg) Error in function (classes, fdef, mtable) : unable to find an inherited method for function "lmList", for signature "formula", "nfnGroupedData" The data are at http://www.people.virginia.edu/~mk9y/LongFormat.csv To get the working data.frame: vf <- read.table("http://www.people.virginia....