Is there a data/variable explorer in R? Hi all, I am inspecting a complex variable which has lists inside lists... Is there a data-explorer that can help me view the structure and content of such variables? Thank you! [[alternative HTML version deleted]]
Define: "Data explorer." (How can we know what you mean?) I would answer your question: Yes. R. But see also ?str ?summary -- Bert On Wed, Aug 22, 2012 at 12:30 PM, Michael <comtech.usa at gmail.com> wrote:> Is there a data/variable explorer in R? > > Hi all, > > I am inspecting a complex variable which has lists inside lists... > > Is there a data-explorer that can help me view the structure and content of > such variables? > > Thank you! > > [[alternative HTML version deleted]] > > ______________________________________________ > 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.-- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm
Look at the TkListView function in the TeachingDemos package. On Wed, Aug 22, 2012 at 1:30 PM, Michael <comtech.usa at gmail.com> wrote:> Is there a data/variable explorer in R? > > Hi all, > > I am inspecting a complex variable which has lists inside lists... > > Is there a data-explorer that can help me view the structure and content of > such variables? > > Thank you! > > [[alternative HTML version deleted]] > > ______________________________________________ > 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.-- Gregory (Greg) L. Snow Ph.D. 538280 at gmail.com
On Aug 22, 2012, at 12:30 PM, Michael wrote:> Is there a data/variable explorer in R? > > Hi all, > > I am inspecting a complex variable which has lists inside lists... > > Is there a data-explorer that can help me view the structure and > content of > such variables?In my Mac GUI there is a Workspace Browser but it's fairly limited in that it only lets you see the first level down for list objects. Most people use the str function for that purpose: > ddd <- list(a=list(b=list(c=list))) > str(ddd) List of 1 $ a:List of 1 ..$ b:List of 1 .. ..$ c:function (...) -- David Winsemius, MD Alameda, CA, USA
Rstudio has an object browser that will do what is required. On Aug 22, 2012 7:34 PM, "Michael" <comtech.usa@gmail.com> wrote:> Is there a data/variable explorer in R? > > Hi all, > > I am inspecting a complex variable which has lists inside lists... > > Is there a data-explorer that can help me view the structure and content of > such variables? > > Thank you! > > [[alternative HTML version deleted]] > > ______________________________________________ > 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. >[[alternative HTML version deleted]]