[R] how to manipulate object in specific environment?
wwwhsd at gmail.com
Thu Apr 8 22:28:23 CEST 2010
On Thu, Apr 8, 2010 at 5:01 PM, Tengfei Yin <yintengfei at gmail.com> wrote:
> I want to simplify my problem into a prototype, how to write a function to
> get all the object in your current environment, e.g. .GlobalEnv, and print
> their mode?
> For example, if I have object a,b,c... in my environment,
> I want to write a function myfun(), when I run myfun(), this retrieve all
> the objects in my environment automatically and print their mode or class
> one by one.
> Tengfei Yin
> MCDB PhD student
> 1620 Howe Hall, 2274,
> Iowa State University
> Ames, IA,50011-2274
> Homepage: www.tengfei.name
> English Blog: www.tengfei.name/en
> Chinese Blog: www.tengfei.name/ch
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
25° 25' 40" S 49° 16' 22" O
More information about the R-help