Displaying 2 results from an estimated 2 matches for "incrxbyone".
2004 Nov 11
1
"<<-" assignment no long work in class methods
...uot;<<-" to do assignment inside a class method, and
just found that now it is broken in R 2.0. For example, the
following code
-----------------------------------------------------------------------
setClass( "myclass", representation(x="numeric") )
setGeneric("incrXByOne", function(obj) standardGeneric("incrXByOne"))
setMethod( "incrXByOne", "myclass", function(obj) obj at x <<- obj at x + 1 )
incrXByOne( new("myclass") )
-----------------------------------------------------------------------
will give an error m...
2004 Nov 11
0
ROracle SQL length limitation
...uot;<<-" to do assignment inside a class method, and
just found that now it is broken in R 2.0. For example, the
following code
-----------------------------------------------------------------------
setClass( "myclass", representation(x="numeric") )
setGeneric("incrXByOne", function(obj) standardGeneric("incrXByOne"))
setMethod( "incrXByOne", "myclass", function(obj) obj at x <<- obj at x + 1 )
incrXByOne( new("myclass") )
-----------------------------------------------------------------------
will give an error m...