similar to: Utilities for methods

Displaying 20 results from an estimated 10000 matches similar to: "Utilities for methods"

2006 Oct 12
1
getMethods() not finding all methods
Running R2.4.0 on Apple Mac OS X 10.4.8, in Emacs ESS mode, and also R.app. In an attempt to learn a bit more about a particular method (geneNames in package affy) I invoked getMethods("geneNames") which produced geneNames methods, but not the one in affy (output below). I had to know the signature (AffyBatch) in order to find the method > getMethod("geneNames",
2009 Mar 30
0
Problem with Tomcat
Hi, Tomcat was running well and suddenly stop of working. I am using tomcat5-5.5.23-0jpp.7.el5_2.1 on Centos 5.2 /etc/tomcat5/tomcat5.conf looks like as follows: JAVA_HOME="/usr/lib/jvm/java" CATALINA_HOME="/usr/share/tomcat5" JASPER_HOME="/usr/share/tomcat5" CATALINA_TMPDIR="/usr/share/tomcat5/temp"
2006 Apr 13
2
[R] S4 method dispatch matrixOrArray (fwd)
What a delicious example! (I'm taking the liberty of sharing it with r-devel, since it raises some good issues.) You have two questions, presumably: 1 - how could the order of the setMethod calls make a difference in the results? 2 - what's causing the infinite loop & how could it be avoided, reliably? Second question first. The danger sign is the "vector" method:
2010 Apr 22
0
R 2.11.0 is released
I've rolled up R-2.11.0.tar.gz a short while ago. This is a development release which contains a number of new features. Also, a number of mostly minor bugs have been fixed. See the full list of changes below. NOTE: The build platform has been changed for this release. Please watch out extra carefully for anomalies. You can get it from http://cran.r-project.org/src/base/R-2/R-2.11.0.tar.gz
2010 Apr 22
0
R 2.11.0 is released
I've rolled up R-2.11.0.tar.gz a short while ago. This is a development release which contains a number of new features. Also, a number of mostly minor bugs have been fixed. See the full list of changes below. NOTE: The build platform has been changed for this release. Please watch out extra carefully for anomalies. You can get it from http://cran.r-project.org/src/base/R-2/R-2.11.0.tar.gz
2010 May 21
1
S4 method defined but not used
Dear R developers, I am having a slightly weird issue with a S4 method defined in my package adegenet 1.2-4, with R 2.11.0. As far as I know, the problem is new, and the code implementing the method has not changed for more than a year and worked well so far. The problem is the following. I define, in the package, a method "[" for the S4 class 'genind'. The method's
2004 Jul 06
1
questions about setMethod("Arith", ...)
Hi, we have some questions concerning the definition of new arithmetic methods. In our package "distr" (on CRAN) we define some new arithmetic methods for "+", "-", "*", "/". After loading "distr" the corresponding arithmetic methods work. Now, if we define a new class and also a new method for one of the arithmetic methods
2019 Apr 22
1
R-devel (rev 76409) fails 'make check': non-generic function 'isSymmetric' given to findMethods()
Duncan that does indeed look to be the case. Many thanks! In particular, tests/reg-tests-1d.R optionally loads the Matrix namespace which allows the test to succeed. Compare: ~/R-rc_2019-04-21_r76409/bin/Rscript -e "options(warn=2); library(Matrix); res <- findMethods('isSymmetric'); print('success')" [1] "success" versus
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
2019 Apr 21
0
R-devel (rev 76409) fails 'make check': non-generic function 'isSymmetric' given to findMethods()
On 21/04/2019 4:56 p.m., Benjamin Tyner wrote: > Hello, > > Most likely I'm doing something wrong, but am at a loss as to what the > issue is. I have a clean checkout of trunk here: > > ?? ~/svn/r-devel/R$ svn info > ?? Path: . > ?? Working Copy Root Path: /home/btyner/svn/r-devel/R > ?? URL: https://svn.r-project.org/R/trunk > ?? Relative URL: ^/trunk
2019 Apr 21
2
R-devel (rev 76409) fails 'make check': non-generic function 'isSymmetric' given to findMethods()
Hello, Most likely I'm doing something wrong, but am at a loss as to what the issue is. I have a clean checkout of trunk here: ?? ~/svn/r-devel/R$ svn info ?? Path: . ?? Working Copy Root Path: /home/btyner/svn/r-devel/R ?? URL: https://svn.r-project.org/R/trunk ?? Relative URL: ^/trunk ?? Repository Root: https://svn.r-project.org/R ?? Repository UUID:
2008 Apr 22
3
R 2.7.0 is released
I've rolled up R-2.7.0.tar.gz a short while ago. This is a development release which contains a number of new features. Also, a number of mostly minor bugs have been fixed. See the full list of changes below. You can get it (later today) from http://cran.r-project.org/src/base/R-2/R-2.7.0.tar.gz or wait for it to be mirrored at a CRAN site nearer to you. In case of impatience, try
2008 Apr 22
3
R 2.7.0 is released
I've rolled up R-2.7.0.tar.gz a short while ago. This is a development release which contains a number of new features. Also, a number of mostly minor bugs have been fixed. See the full list of changes below. You can get it (later today) from http://cran.r-project.org/src/base/R-2/R-2.7.0.tar.gz or wait for it to be mirrored at a CRAN site nearer to you. In case of impatience, try
2010 Apr 22
2
R2.11.0 - rasterImage() and barplot fill-patterns
Hello Peter, Thank you, and the R core team, for the new release. I see that in R 2.11.0 there is now support for rendering of raster (bitmap) images through rasterImage(). I am wondering - can this be used to create a texture/fill-pattern for hist()/barplot() ? (A request made several times throughout the years on the mailing list. For example:
2003 Mar 17
0
Changes in checking & error messages
Some fixes have been made to check a few errors better & to report something like the correct error message in other cases. - setMethod will now refuse to set a method for a primitive function for a basic class ("[<-" for "matrix", for example). Previously the method was set but never dispatched. (For a few days, the change prohibited some valid methods for operators,
2010 Nov 10
1
S4 package warning
Hello everyone. R-2.12.0, suse linux 11.3. I am debugging a package that uses S4 methods and R CMD check gives the following warning: > Warning in methods::findMethods(g, env) : > non-generic function 'mdm' given to findMethods() > See the information on DESCRIPTION files in the chapter 'Creating R > packages' of the 'Writing R Extensions' manual. I
2010 Mar 01
1
How do I create a new menu category in GNOME ?
Hi, The title says it all. My GNOME desktop is in French, so here's what my standard Applications (same word in french) menu looks like : Applications > Accessoires (Utilities) > Bureautique (Office) > Graphisme (Graphics) > Internet (Internet) > Son et vid?o (Sound and Video) Now I'm currently installing a medical
2008 Sep 09
1
building a package that contains S4 classes and methods
Hello R users, I am trying to make a my first package and I get an error that I can understand. The package is build out of three files (one for functions, 1 for s4 classes and 1 for s4 methods). Once I source them I run package.skeleton( name="TDC" ) within a R session and I get Creating directories ... Creating DESCRIPTION ... Creating Read-and-delete-me ... Saving functions and
2010 Jan 20
1
R.oo installation warnings?
I got the following warnings when I install R.oo. Are these warnings normal? Should I reinstall the package as mentioned in the warnings? How to reinstall? The sessionInfo() is at the end. > install.packages("R.oo", dependencies=T) Warning in install.packages("R.oo", dependencies = T) : argument 'lib' is missing: using '/utility/R' also installing the
2006 Sep 12
1
package.skeleton() in R-2.4.1
Hi R version 2.4.0 alpha (2006-09-06 r39158) MacOSX 10.4.7 There was a thread some time ago as to whether the structure created by package.skeleton() would pass R CMD check. I have an example where package.skeleton() gives an R file that gives an error when sourced. If I type setClass("brob", representation = representation