Try this: className <- "data.frame" names(which(eapply(globalenv(), class) == className))
On Thu, May 13, 2010 at 11:02 AM, John Edwards <jhnedwards...@gmail.com>wrote: > Hello, > > How ls() only functions or only data objects (basically anything other than > functions) such as data.frame, numeric ...? > > John > > [[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. > -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O [[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.