From: Heywood, Giles (Giles.Heywood@CommerzbankIB.com)
Date: Wed 21 May 2003 - 20:40:55 EST
Message-id: <8CBAA121CEB4D5118CB200508BB2BBEF540344@xmx8lonib.lonib.commerzbank.com>
I have a class defined as an extension to matrix:
fooCLASS <- setClass("foo",representation("matrix"))
and define a method for a generic function (no problem):
setMethod("diff",signature(x="foo"),diff.foo <- function(x){x})
but I get a different behaviour for another generic function:
setMethod("lag",signature(x="foo"),lag.foo <- function(x){x})
Error in assign(".packageName", pkg, env) :
can't add bindings to a locked environment
I did not get this behaviour under 1.5.1, it ran fine - any pointers?
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 1
minor 7.0
year 2003
month 04
day 16
language R
**********************************************************************
This is a commercial communication from Commerzbank AG.\ \ This ... {{dropped}}
______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
This archive was generated by hypermail 2.1.3 : Tue 01 Jul 2003 - 09:11:50 EST