Displaying 7 results from an estimated 7 matches for "dumpmethod".
2008 Mar 18
1
S4 : dumpMethod
Hi the list,
I almost finished the green book (chapter 7 and 8 on S4), this is
probably one of my last question :-)
I hope you will not miss them to much !
Here is my today nighmare: I do not manage to use dumpMethod :
setClass("A",representation(a="numeric"))
setMethod("plot","A",function(x,y,...){cat("AAAAA\n")})
dumpMethod("plot","A",file="")
#setMethod("plot", "A",
#NULL
#)
#[1] ""
Anything wrong...
2008 Mar 30
1
package.skeleton.S4
Hi the devel list.
I am adapting the package.skeleton to S4 classes and methods
I would have been very proud to post a new working function on this list.
Unfortunately, I do not manage to solve all the problems. Mainly
- sys.source does not compile a file with setClass
- dumpMethod does not exists yet
In the following code, thise two problems are notified by a line
#################
Still with this two issues, it is possible to use package.skeleton.S4 in
the following way:
- first run package.skeleton (in the classical way, on a file or in the
console).
This creates...
2008 Feb 20
0
Non-standard S4 behavior
...ber's "Classes and Methods in the S
language": http://www.omegahat.org/RSMethods/Intro.pdf
>From my session:
R> whatis <- function(object) paste( "sdw" )
R> setMethod( "whatis", "vector", function(object) paste( "cswdvcr" ) )
R> dumpMethod( "whatis", "numeric" )
[1] "whatis.numeric.R"
But the "whatis.numeric.R" file contains:
setMethod("whatis", "numeric",
NULL
)
As you can see this is not what the guide describes. My R environment( built
from source ):
R> sessionInfo...
2006 Jan 03
1
lmer error message
Dear All,
I have the following error message when I fitted lmer to a binary data with the "AGQ" option:
Error in family$mu.eta(eta) : NAs are not allowed in subscripted assignments
In addition: Warning message:
IRLS iterations for PQL did not converge
Any help?
Thanks in advance,
Abderrahim
[[alternative HTML version deleted]]
2012 Jun 07
2
How to build a large identity matrix faster?
Hello, I am trying to build a large size identity matrix using diag(). The
size is around 23000 and I've tried diag(23000), that took a long time.
Since I have to use this operation several times in my program, the running
time is too long to be tolerable. Are there any alternative for diag(N)?
Thanks
Cheers,
yct
[[alternative HTML version deleted]]
2008 Apr 22
3
R 2.7.0 is released
...39;k' instead of
doing so silently. (May help confused users such as PR#10766.)
o gamma() was warning incorrectly for most negative values as being
too near a negative integer. This also affected other
functions making use of its C-level implementation.
o dumpMethod() and dumpMethods() now work again.
o package.skeleton() now also works for code_files with only
metadata (e.g. S4 setClass) definitions; it handles S4 classes and
methods, producing documentation and NAMESPACE exports if requested.
o Some methods package utilities (im...
2008 Apr 22
3
R 2.7.0 is released
...39;k' instead of
doing so silently. (May help confused users such as PR#10766.)
o gamma() was warning incorrectly for most negative values as being
too near a negative integer. This also affected other
functions making use of its C-level implementation.
o dumpMethod() and dumpMethods() now work again.
o package.skeleton() now also works for code_files with only
metadata (e.g. S4 setClass) definitions; it handles S4 classes and
methods, producing documentation and NAMESPACE exports if requested.
o Some methods package utilities (im...