You have another toString function hanging around. Your result is exactly what I get from methods('toString') after I define
toString <- function(x) x You could try getAnywhere('toString') -Peter anna wrote:
Peter, here is what I get for methods('toString'): [1] toString.default Warning message: In methods("toString") : function 'toString' appears not to be generic ----- Anna Lippel
-- Peter Ehlers University of Calgary ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.