On Thu, Aug 26, 2010 at 4:42 AM, David Hajage <dhajag...@gmail.com> wrote: > Hello useRs and guRus, > > I was trying to add the support of str() in the ascii package, and I > realized that str() does not have a print method. It uses cat() from inside > the function and returns nothing. > > Since it is not usual in R, I wonder why? Is there a particular reason? > > Thank you very much for your attention on... well, this unimportant > question. >
It still dispatches to S3 methods though. See str.zoo in the zoo package as an example. -- GKX Group GKX Associates Inc. 1-877-GKX-GROUP ggrothendieck at gmail.com ______________________________________________ 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.