With > R.version.string [1] "R version 2.15.0 alpha (2012-03-14 r58748)" trying to trace a method using the 'signature' argument fails rather than enabling the trace: > trace(initialize, signature="ANY") Error in matchSignature(signature, fdef, where) : trying to match a method signature of class ?signature?; expects a list or a character vector -- Computational Biology Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109 Location: M1-B861 Telephone: 206 667-2793
Thanks. Should be fixed in r-devel and 2.15 alpha from revision 58756. (Nothing to do with trace() particularly. Low-level code to create "signature" objects was not returning an S4 object.) On 3/14/12 9:48 PM, Martin Morgan wrote:> With > > > R.version.string > [1] "R version 2.15.0 alpha (2012-03-14 r58748)" > > trying to trace a method using the 'signature' argument fails rather > than enabling the trace: > > > trace(initialize, signature="ANY") > Error in matchSignature(signature, fdef, where) : > trying to match a method signature of class ?signature?; expects a list > or a character vector >