Re: [Rd] capture.output on S4 slot

2014-08-19 Thread Thomas Lumley
On Fri, Jul 18, 2014 at 4:00 PM, Dario Strbenac wrote: > Hello, > > capture.output produces a different result if the S4 object was created with > a constructor than if the body of the constructor is copied and pasted. > > setClass("TransformParams", representation( > transform = "function", >

[Rd] capture.output on S4 slot

2014-07-17 Thread Dario Strbenac
Hello, capture.output produces a different result if the S4 object was created with a constructor than if the body of the constructor is copied and pasted. setClass("TransformParams", representation( transform = "function", otherParams = "list") ) setGeneric("TransformParams", function(tran