Re: [R] Infinite recursion error that I don't understand

2008-01-03 Thread Bert Gunter
Sent: Thursday, January 03, 2008 10:57 AM To: Bert Gunter Cc: r-help@r-project.org Subject: Re: [R] Infinite recursion error that I don't understand The error is in printing ... foo <- data.frame(I(z)) works. It is not hard to create a data frame you cannot print, and this is one.

Re: [R] Infinite recursion error that I don't understand

2008-01-03 Thread Prof Brian Ripley
The error is in printing ... foo <- data.frame(I(z)) works. It is not hard to create a data frame you cannot print, and this is one. It could be considered a bug in format.AsIs, which calls toString without removing its class. Traceback() helps: 14: format.AsIs(x, ...) 13: format(x, ...) 12