Displaying 1 result from an estimated 1 matches for "ncputvar".
2010 Sep 23
1
strange behaviour of callNextMethod in S4 methods
...o be missing in the "next
method". My guess is that using the argument in the current method makes
it disappear the next method. Is it a bug or a normal behaviour?
For understanding, let's see this example (with calls to some RNetCDF
functions):
Define a generic:
setGeneric("ncputVar",def=function(nc,variable,object)
standardGeneric("ncputVar"))
Define a 1st method for class Source:
setMethod("ncputVar",signature(nc="NetCDF",variable="ANY",object="Source"),
def=function(nc,variable,object)
{
att.put.nc(nc,variable...