Oliver
2011-Apr-27 12:50 UTC
[R] str() without any details - only structure? (removing elements from list)
Hello, can I get somehow the pure structure without any details via str or other functions? I have a very large list with lists as elements... And now I want to know which structure I have, becaiuse I need to kick out some entries. Any idea? Oliver
Greg Snow
2011-Apr-27 18:09 UTC
[R] str() without any details - only structure? (removing elements from list)
Look at TkListView in the TeachingDemos package as one option (though for large lists it is noticeably slower than str). It creates a tree structure representing your list that you can then expand or collapse branches in. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.snow at imail.org 801.408.8111> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- > project.org] On Behalf Of Oliver > Sent: Wednesday, April 27, 2011 6:50 AM > To: r-help at stat.math.ethz.ch > Subject: [R] str() without any details - only structure? (removing > elements from list) > > Hello, > > can I get somehow the pure structure without any details > via str or other functions? > > I have a very large list with lists as elements... > And now I want to know which structure I have, becaiuse I need to kick > out some > entries. > > Any idea? > > Oliver > > ______________________________________________ > R-help at 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.