Displaying 16 results from an estimated 16 matches for "methodslist".
2008 Mar 18
0
Utilities for methods
The first implementation of the methods package used the "MethodsList"
class for method dispatch. Objects from the class stored methods
recursively by the separate arguments in the method signature.
That was a good structure for selecting a method, but not for most other
utilities. However, it was used for essentially everything in the
beginning. The met...
2012 Dec 21
1
improved methods error
...for function 'sort'
which comes from (including removal of an extra space between 'generic' and
'signature'; I'm not sure what diff I should be providing for the po files?)
===================================================================
--- src/library/methods/R/MethodsList.R (revision 61375)
+++ src/library/methods/R/MethodsList.R (working copy)
@@ -528,9 +528,10 @@
if(is.null(names(signature))) {
which <- seq_along(signature)
if(length(which) > length(anames))
- stop(gettextf("more elements in the method signature (%d) t...
2006 Sep 12
1
package.skeleton() in R-2.4.1
...uot; <-
structure(function(x){standardGeneric("getX")}
, generic = structure("getX", package = ".GlobalEnv"), package =
".GlobalEnv", group = list(), valueClass = character(0), signature =
"x", default = <S4
object of class structure("MethodsList", package = "methods")>,
skeleton = quote(function (x)
stop("invalid call in method dispatch to 'getX' (no default method)",
domain = NA)(x)), class = structure
("nonstandardGenericFunction", package = "methods"))
[subject to line br...
2008 Sep 09
1
building a package that contains S4 classes and methods
...-
<S4 object of class structure("classRepresentation", package = "methods")>
`.__C__BindArgs2` <-
<S4 object of class structure("classRepresentation", package = "methods")>
`.__M__initialize:methods` <-
<S4 object of class structure("MethodsList", package = "methods")>
`.__T__initialize:methods` <-
<environment>
Well, let just say that I am new to classes so this confuses me greatly. I
have checked the documentation and tried a few things but I reached my
personal limits!
I am using R 2.7.1 on Linux Fedora 8....
2010 Apr 19
0
S4-based package failure: setGeneric example#1
...ot; folder, it hit an error:
* checking whether package 'props' can be installed ... ERROR
Installation failed.
The 00install.out file said it found an unexpected '<' in the props.R file.
I guessed it was due to the argument
'default = <S4 object of class structure("MethodsList", package =
"methods")>'
in the structure definition of props in props.R.
When I deleted that argument and re-checked the "props" folder, it hit a new
error:
*checking for missing documentation entries ... ERROR
Error in FUN("props"[[1L]], ...) :
Now I a...
2006 Apr 13
2
[R] S4 method dispatch matrixOrArray (fwd)
...bute, and is.object() is FALSE for them.
More interesting though--how can the order of the setMethod() calls
matter? To see that we need to look at the methods list object. (The
discussion is simplified to the case that only one argument is involved,
which doesn't affect the result.)
The MethodsList object has a slot containing a named list of methods,
with the names being those of the classes that appeared in the setMethod
calls, in the order that the calls occurred(note!). All classes are
essentially equal from the view of the generic function, so there's no
ordering favoring the &q...
2010 Apr 22
2
R2.11.0 - rasterImage() and barplot fill-patterns
...other hand, conversion to LaTeX with the default
> outputEncoding = "ASCII" uses the second part.
>
> o A new class "listOfMethods" has been introduced to represent
> the methods in a methods table, to replace the deprecated
> class "MethodsList".
>
> o any() and all() return early if possible. This may speed up
> operations on long vectors.
>
> o strptime() now accepts "%z" (for the offset from UTC in the
> RFC822 format of +/-hhmm).
>
> o The PCRE library has been updat...
2006 Oct 12
1
getMethods() not finding all methods
...onductor
Vignettes contain introductory material. To view, type
'openVignette()' or start with 'help(Biobase)'. For details
on reading vignettes, see the openVignette help page.
Loading required package: affyio
> getMethods("geneNames")
An object of class ?MethodsList?
Slot "methods":
$ExpressionSet
Method Definition:
function (object)
{
.Deprecated("featureNames")
featureNames(object)
}
<environment: namespace:Biobase>
Signatures:
object
target "ExpressionSet"
defined "ExpressionSet"
$e...
2010 Apr 22
0
R 2.11.0 is released
...ing.
On the other hand, conversion to LaTeX with the default
outputEncoding = "ASCII" uses the second part.
o A new class "listOfMethods" has been introduced to represent
the methods in a methods table, to replace the deprecated
class "MethodsList".
o any() and all() return early if possible. This may speed up
operations on long vectors.
o strptime() now accepts "%z" (for the offset from UTC in the
RFC822 format of +/-hhmm).
o The PCRE library has been updated to version 8.02, a bug-fix...
2010 Apr 22
0
R 2.11.0 is released
...ing.
On the other hand, conversion to LaTeX with the default
outputEncoding = "ASCII" uses the second part.
o A new class "listOfMethods" has been introduced to represent
the methods in a methods table, to replace the deprecated
class "MethodsList".
o any() and all() return early if possible. This may speed up
operations on long vectors.
o strptime() now accepts "%z" (for the offset from UTC in the
RFC822 format of +/-hhmm).
o The PCRE library has been updated to version 8.02, a bug-fix...
2008 Apr 22
3
R 2.7.0 is released
....g. because it might fail in some locales).
o The error handler in the parser now reports line numbers for
more syntax errors (MBCS and Unicode encoding errors, line
length and context stack overflows, and mis-specified argument
lists to functions).
o The "MethodsList" objects originally used for method selection
are being phased out. New utilities provide simpler
alternatives (see ?findMethods), and direct use of the mangled
names for the objects is now deprecated.
o Creating new S4 class and method definitions in an environ...
2008 Apr 22
3
R 2.7.0 is released
....g. because it might fail in some locales).
o The error handler in the parser now reports line numbers for
more syntax errors (MBCS and Unicode encoding errors, line
length and context stack overflows, and mis-specified argument
lists to functions).
o The "MethodsList" objects originally used for method selection
are being phased out. New utilities provide simpler
alternatives (see ?findMethods), and direct use of the mangled
names for the objects is now deprecated.
o Creating new S4 class and method definitions in an environ...
2014 Nov 25
0
problem with setGroupGeneric from package methods
...}
}
assign(".SigLength", nsig, envir = env)
}
argSyms <- lapply(generic at signature, as.name)
assign(".SigArgs", argSyms, envir = env)
if(initialize) {
mlist <- generic at default # from 2.11.0: method, primitive or NULL, not MethodsList
mtable <- .mlistAddToTable(generic, mlist) # by default, adds to an empty table
assign(".MTable", mtable, envir = env)
}
else ## the current .MTable
mtable <- getMethodsForDispatch(generic)
.resetInheritedMethods(env, mtable)
if(is(generic, &q...
2007 Apr 24
0
R 2.5.0 is released
...same as ".".) Thanks to Bill Dunlap
for the suggestion.
o Introduced the suffix L for integer literals to create
integer rather than numeric values, e.g. 100L, 0x10L, 1e2L.
o Set the parser to give verbose error messages in case of
syntax errors.
o The class "LinearMethodsList" has been extended and will be
used to create list versions of methods, derived from the
methods tables (environments). The older recursive
"MethodsList" class will be deprecated (by the release of
2.5.0 if possible).
o There are more flexible ways to specify the default lib...
2007 Apr 24
0
R 2.5.0 is released
...same as ".".) Thanks to Bill Dunlap
for the suggestion.
o Introduced the suffix L for integer literals to create
integer rather than numeric values, e.g. 100L, 0x10L, 1e2L.
o Set the parser to give verbose error messages in case of
syntax errors.
o The class "LinearMethodsList" has been extended and will be
used to create list versions of methods, derived from the
methods tables (environments). The older recursive
"MethodsList" class will be deprecated (by the release of
2.5.0 if possible).
o There are more flexible ways to specify the default lib...
2002 Jul 11
1
dyn.load tcl/tk (PR#1774)
...example
>>> Building/Updating help pages for package `methods'
Formats: text html latex example
BasicClasses text html latex
BasicFunctions text html latex
Classes text html latex
EmptyMethodsList-class text html latex
EnvironmentClass text html latex
GenericFunctions text html latex
LanguageClasses text html latex
LinearMethodsList-class text html latex
MethodDefinition-class...