[R] dimensions of a all objects

From: Farrel Buchinsky <fjbuch_at_gmail.com>
Date: Tue 09 Jan 2007 - 14:29:51 GMT


Why will the following command not work
sapply(objects(),dim)
What does it say about the objects list? What does it say about the dim command?

Likewise, the following also does not work all<-ls()
for (f in all) print(dim(f))

-- 
Farrel Buchinsky

	[[alternative HTML version deleted]]

______________________________________________
R-help@stat.math.ethz.ch 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.
Received on Wed Jan 10 14:57:08 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 10 Jan 2007 - 12:30:30 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.