Re: [R] str: how to use "no list" recursively?

2010-04-11 Thread Jeff Brown
Wow, those are cool functions!  Thanks! --- On Sat, 4/10/10, Henrique Dallazuanna [via R] wrote: From: Henrique Dallazuanna [via R] Subject: Re: str: how to use "no list" recursively? To: "Jeff Brown" Date: Saturday, April 10, 2010, 12:02 PM Try this: cat(gsub(":List of .*", "", captu

Re: [R] str: how to use "no list" recursively?

2010-04-10 Thread Henrique Dallazuanna
Try this: cat(gsub(":List of .*", "", capture.output(str(x, no.list = TRUE))), sep = '\n') On Fri, Apr 9, 2010 at 11:11 PM, Jeff Brown wrote: > > Hi, > > In the help file for str(), the following line appears: "no.list         > logical; > if true, no ‘list of ...’ nor the class are printed".  

[R] str: how to use "no list" recursively?

2010-04-09 Thread Jeff Brown
Hi, In the help file for str(), the following line appears: "no.list logical; if true, no ‘list of ...’ nor the class are printed". However, that appears to be true only on the top level; setting no.list to TRUE still leaves the remaining levels with the `list of ...' statement intact: