ginal Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Erin Hodgess
Sent: Saturday, October 01, 2011 10:38 PM
To: R help
Subject: [R] getting list of data.frame names
Dear R People:
This is probably a very simple question. I know that if I want to get a
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
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:
> sapply(ls(), function(x)class(get(x)))
aa1.dfbd
"list" "data.frame""integer""numer
3 matches
Mail list logo