search for: gnacademy

Displaying 6 results from an estimated 6 matches for "gnacademy".

Did you mean: academy
2006 Jun 05
2
Functions starting with underscores
I'm having problems with functions starting with underscores '_foo' <- function(x) {1} seems to work but I can't assign an attribute to this function attr('_foo', 'bar') <- 'pow' Any way of doing this? This is for a C++ -> R wrapping system so I'd like to keep the C++ names which start with underscores. (please cc: responses to me
2006 Jun 07
1
S4 Methods with large numbers of args using memory
Thanks all to the people on the r-help list for the backtick help. I've run into another problem. With my SWIG C++ wrapper for R, I'm finding that S4 generic functions with large numbers of argument (such as 10 or 11) seem to be taking up a lot of memory especially when a lot of the arguments are set to missing. This happens because I'm generating S4 methods to wrapper C++
2006 Jun 07
1
S4 Methods with large numbers of args using memory
Thanks all to the people on the r-help list for the backtick help. I've run into another problem. With my SWIG C++ wrapper for R, I'm finding that S4 generic functions with large numbers of argument (such as 10 or 11) seem to be taking up a lot of memory especially when a lot of the arguments are set to missing. This happens because I'm generating S4 methods to wrapper C++
2008 Feb 03
1
R class accessor problem in 2.6
I was able to track down the problem that causes R-Swig to fail in 2.6. In 2.5, I am able to use the set method against '$' and '$<-' to cause expressions like r$d to get dispatched to get and set functions. This no longer seems to work in 2.6, and I was wondering if anyone can give information as why. The function that are failing are at the end of this e-mail. In 2.5 a
2006 Apr 09
2
type converters not being saved to workspace
Any one can explain why this happens or any work arounds? > setClass('foo') [1] "foo" > setAs('foo', 'character', function(from) from) > showMethods('coerce') Function "coerce": from = "ANY", to = "array" from = "ANY", to = "call" from = "ANY", to = "character" from =
2006 Apr 09
2
type converters not being saved to workspace
Any one can explain why this happens or any work arounds? > setClass('foo') [1] "foo" > setAs('foo', 'character', function(from) from) > showMethods('coerce') Function "coerce": from = "ANY", to = "array" from = "ANY", to = "call" from = "ANY", to = "character" from =