Re: [R] getting list of data.frame names

2011-10-03 Thread David Reiner
I know you already got a good answer from Joshua Wiley. Here is a function I find useful. Anyone who wants to suggest improvements, please do so! > my.ls function(pos=1, sorted=FALSE, mode, class){ .result <- sapply(ls(pos=pos, all.names=TRUE), function(..x)object.size(eval(as.symbol(..x

Re: [R] getting list of data.frame names

2011-10-01 Thread Joshua Wiley
Hi Erin, Try this: names(which(sapply(.GlobalEnv, is.data.frame))) Cheers, Josh On Sat, Oct 1, 2011 at 8:37 PM, Erin Hodgess wrote: > Dear R People: > > This is probably a very simple question.  I know that if I want to get > a list of the classes of the objects in the workspace, I can do this