[R] Fwd: setMethod( '[', c( 'data.frame', 'expression' ...

2010-07-20 Thread Christopher Brown
Hi, I am trying to write a method for [,data.frame,expression. But it give the error: * * *Error in xj[i] : invalid subscript type 'expression'* I looked at the help files and the archives. No avail. Any ideas? Here is an example that reproduces the error. > setGeneric( '[' ) [1] "[" > setM

[R] [R-pkgs] hash-2.0.0

2010-05-10 Thread Christopher Brown
h$foo <- "bar" h[ "foo" ] h[[ "foo" ]] clear(h) rm(h) Warmest Regards, Chris Christopher Brown Principal Open Data http://www.opendatagroup.com http://blog.opendatagroup.com [[alternative HTML version deleted]] __