Re: [Rd] defining a print method

2006-01-04 Thread Deepayan Sarkar
On 1/4/06, Gabor Grothendieck <[EMAIL PROTECTED]> wrote: > In the following session we define an xx class and a print method > for it. If I invoke it with print then it prints as expected but if > we just type xx at the R prompt then we get nothing back. How > do we define the print method so tha

[Rd] defining a print method

2006-01-04 Thread Gabor Grothendieck
In the following session we define an xx class and a print method for it. If I invoke it with print then it prints as expected but if we just type xx at the R prompt then we get nothing back. How do we define the print method so that it works in the latter case too? > xx <- structure("abc", clas