similar to: methods::trace fails when signature specified

Displaying 20 results from an estimated 5000 matches similar to: "methods::trace fails when signature specified"

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
2006 Nov 05
1
lme4 install error
Dear all, I'm trying to install lme4 (after having installed R 2.4.0 from source, and having installed the latest Matrix package). lme4 fails with the following message: pedigree.o definition of _lme4_xSym in section (__DATA,__common) pedigree.o definition of _lme4_ySym in section (__DATA,__common) make: *** [lme4.so] Error 1 ERROR: compilation failed for package 'lme4' ** Removing
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
2004 Sep 09
1
Confused about loading other packages from a package
In my package, I create a new method for plot with the following signature: setMethod("plot", signature(x="marrayNorm", y="formula"), plot.ma) where marrayNorm is a class defined in the 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
2003 Oct 27
1
initialization of S4 classes/methods
I'm seeing weird issues in methods initialization, i.e. loading marrayClasses loads Biobase, and when explicitly done, as in library(Biobase) library(marrayClasses) is fine, but when Biobase is loaded via a require statement in marrayClasses' .First.Lib, I end up with: Warning message: In the method signature for function "coerce", class "exprSet" has no
2010 Mar 08
1
confused by classes and methods.
Hello, I have a simple class that looks like: setClass("statisticInfo", representation( max = "numeric", min = "numeric", beg = "numeric", current = "numeric", avg = "numeric", obs = "vector"
2012 Aug 05
2
setMethod sometimes fails to set package slot when signature has trailing 'ANY'
after this setClass("A") setGeneric("bar", function(x, y) standardGeneric("bar")) setMethod(bar, signature(x="A", y="A"), function(x, y) {}) setMethod(bar, signature(x="A", y="ANY"), function(x, y) {}) the method for signature c("A", "A") contains package information > str(getMethod(bar,
2004 May 23
1
Running scripts automatically from Rgui (Windows)
I am trying to get a script to start automatically when I run the GUI version of R version 1.9.0, started from a .bat file (WINDOWS), but I'm getting strange errors In version 1.8.1 I was able to run a script automatically by copying the script into the file .Rprofile and running Rgui from a .bat script, but in version 1.9.0 I'm getting errors like: Error in inherits(x,
2002 May 29
1
warning message for setAs when using class AsIs
This seemed too advanced for r-help and is related to the recent discussion of character vectors in dataframes. Following Brian Ripley's most excellent advice, we are moving to a world in which character vectors in dataframes are always of class AsIs. The cool way of doing this seemed to be the following: > cat(c("x", "y", "z"), file = "test.txt",
2013 May 08
1
Namespace/inheritance problem in S4 methods for a union class
Hi, I started this post on bioc-devel but this seems to be more general: https://stat.ethz.ch/pipermail/bioc-devel/2013-May/004311.html See reproducible example from Martin below. Thank you. Renaud ---------- Forwarded message ---------- From: Martin Morgan <mtmorgan at fhcrc.org> Date: 7 May 2013 19:55 Subject: Re: [Bioc-devel] ExpressionSet and LumiBatch: inheritance problem in S4
2010 Mar 22
1
Some more help on S4 mechanism
Hello to the list Some days ago, I placed a question on this maling-list and received an answer from Martin that I tried to follow. Unfortunately, I am still puzzled by the next step. I spent the whole Week-end in gathering information from the net. Some of them are almost contridtcory and I lack a good document to help me. So my first question would beL Is there a convenient document which
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
2006 Oct 03
1
New versions of Matrix and lme4 packages for R-2.4.0
Versions 0.9975-1 of the Matrix and lme4 packages will soon be available on CRAN for use with R version 2.4.0 or later. Purpose of the packages: The Matrix package provides S4 classes and methods for sparse and dense matrices. The lme4 package provides functions for fitting and assessing linear or generalized linear mixed effects models (also called multilevel models). Like the Matrix package,
2006 Oct 03
1
New versions of Matrix and lme4 packages for R-2.4.0
Versions 0.9975-1 of the Matrix and lme4 packages will soon be available on CRAN for use with R version 2.4.0 or later. Purpose of the packages: The Matrix package provides S4 classes and methods for sparse and dense matrices. The lme4 package provides functions for fitting and assessing linear or generalized linear mixed effects models (also called multilevel models). Like the Matrix package,
2008 Mar 20
2
Error in function (classes, fdef, mtable): unable to find an inherited method for function "indexProbes", for signature "exprSet", "character"
Hello Everyone, I am writing programs in R from 7 months and I am able to solve most of the errors/issues except for this current post. My Task is to read a Microsoft Excel file(textE_to_affy.csv) which contains the Microarray Expression Values collected from the Illumina Microarray experiment. These collected intensity values need to be normalized(Rank Invariant Normalization) by using the R
2003 Feb 03
0
extension of generic functions in methods package
How can I extend the signature of a generic function, because the following example is unclear for me. setClass("A",representation(data="numeric")); setGeneric("func",function(obj,...){ res <- standardGeneric("func"); res at cal <- match.arg(); return(res); }); func1.A <- function(obj){ print("A"); return(); }
2012 Jun 19
0
Error with RJSONIO installation
Hi friends, I was trying to install RJSONIO in Ubuntu10.04 LTS but unfortunately ends up with following error. trying URL 'http://stat.ethz.ch/CRAN/src/contrib/RJSONIO_0.98-1.tar.gz' Content type 'application/x-gzip' length 1150673 bytes (1.1 Mb) opened URL ================================================== downloaded 1.1 Mb * installing *source* package ‘RJSONIO’ ... Trying to
2002 Feb 19
1
library(methods): setMethod with "ANY" fails. (PR#1317)
Full_Name: Henrik Bengtsson Version: R v1.4.1 OS: WinMe Submission from: (NULL) (217.208.14.137) Doing the following library(methods) setGeneric("foo", function(x) standardGeneric("foo")) setMethod("foo", "ANY", function(x) cat(x)) fails with Error in while (value[n] == "ANY") n <- n - 1 : missing value where logical needed It
2007 Apr 15
1
unable to find inherited method for function "edges", for signature "ugsh", "missing"
I am new to using S4 methods and have run into this problem (on Windows XP using R 2.4.1): I am writing a package in which I use the graph package. I define my own classes of graphs as: setOldClass("graphsh") setOldClass("ugsh") setIs("ugsh", "graphsh") (I know that I "should have" used setClass instead - and I will eventually - but right now
2012 Aug 22
1
loading both RPostgreSQL and RSQLite leads to problems
hello, if i load the RSQLite package in addition to the RPostgreSQL package, i get various errors when trying to use RPostgreSQL functions. here is an example transcript showing one such error: ========================================================== R version 2.15.0 (2012-03-30) [...] > packageVersion('RPostgreSQL') [1] 0.3.2 > packageVersion('RSQLite') [1] 0.11.1