search for: hasmethod

Displaying 9 results from an estimated 9 matches for "hasmethod".

Did you mean: asmethod
2007 Nov 14
1
test for existance of a method for given class
Dear All, I want to test whether a method exists for given object. For example, whether a function "deviance" is defined for an object of the "lm" class. My imperfect understanding leads me to think something like hasMethod("deviance", object) hasMethod("deviance", "lm") existsMethod("deviance", signature(class="lm")) or similar might work (I don't fully understand how to manipulate signatures), but all the variations on this I have tried return FALSE. (Exce...
2016 Jul 26
3
Exportar datos en formato de Excel
...on because toString() failed>.jarray(v)<S4 > > object of class "jobjRef"> > > > saveWorkbook(exc) > > Error in .jcheck() : > > Java Exception <no description because toString() > > failed>.jcall("RJavaTools", "Z", "hasMethod", .jcast(x, > > "java/lang/Object"), name)<S4 object of class "jobjRef"> > > > > El 26 de julio de 2016, 13:25, Javier Martínez-López < > > javier.martinez en bc3research.org> escribió: > > > >> Yo utilizo este script, done...
2008 Mar 18
0
Utilities for methods
...r utilities that should be faster and more convenient, at least when more than one argument is involved. The new utilities will be: findMethods(), which returns a simple list of methods (replacement for getMethods()); findMethodSignatures(), which returns a character matrix of signatures; and hasMethods(), which tests for the existence of methods. Cheers, John
2016 Jul 26
7
Exportar datos en formato de Excel
Buenos días a todos! Estoy trabajando con una base de datos que directamente he descargado de internet y después de prepararla un poco necesito exportarla a Excel he intentando con las dos opciones que mencionaré al final pero ninguna funciona, de qué otra manera puedo exportar esos datos a Excel... muchas gracias por su ayuda y pronta respuesta! 1) library(xlsx) library(rJava)
2008 Jun 23
0
R 2.7.1 is released
...default) is again an error before a user coordinate system has been set on the device, rather than giving nonsensical values (the effect of r31367). o Rare string width calculations in package grid were not interpreting the string encoding correctly. o hasMethods(f, env) {without specified 'package'} now works better. o A missing PROTECT could cause segfaults on string comparisons. (PR#11421) o str(structure(1, classID = "Pooh")) now works fine. o A missing PROTECT could cause segfaults in if() if coercion of...
2008 Jun 23
0
R 2.7.1 is released
...default) is again an error before a user coordinate system has been set on the device, rather than giving nonsensical values (the effect of r31367). o Rare string width calculations in package grid were not interpreting the string encoding correctly. o hasMethods(f, env) {without specified 'package'} now works better. o A missing PROTECT could cause segfaults on string comparisons. (PR#11421) o str(structure(1, classID = "Pooh")) now works fine. o A missing PROTECT could cause segfaults in if() if coercion of...
2011 Apr 13
0
R 2.13.0 is released
...ct from model objects a suitable value for use in BIC calculations. An S4 generic derived from it is defined in package stats4. ? Code for S4 reference-class methods is now examined for possible errors in non-local assignments. ? findClasses, getGeneric, findMethods and hasMethods are revised to deal consistently with the package= argument and be consistent with soft namespace policy for finding objects. ? tools::Rdiff() now has the option to return not only the status but a character vector of observed differences (which are still by default se...
2011 Apr 13
0
R 2.13.0 is released
...ct from model objects a suitable value for use in BIC calculations. An S4 generic derived from it is defined in package stats4. ? Code for S4 reference-class methods is now examined for possible errors in non-local assignments. ? findClasses, getGeneric, findMethods and hasMethods are revised to deal consistently with the package= argument and be consistent with soft namespace policy for finding objects. ? tools::Rdiff() now has the option to return not only the status but a character vector of observed differences (which are still by default se...
2003 Apr 24
2
R-1.7.0 build feedback: NetBSD 1.6 (PR#2837)
R-1.7.0 built on NetBSD 1.6, but the validation test suite failed: Machinetype: Intel Pentium III (600 MHz); NetBSD 1.6 (GENERIC) Remote gcc version: gcc (GCC) 3.2.2 Remote g++ version: g++ (GCC) 3.2.2 Configure environment: CC=gcc CXX=g++ LDFLAGS=-Wl,-rpath,/usr/local/lib make[5]: Entering directory `/local/build/R-1.7.0/src/library' >>> Building/Updating