[R] modes of objects

Laura Holt lauraholt_983 at hotmail.com
Fri May 28 01:30:32 CEST 2004


Hi R People:


I am looking for some objects:

>objects(pat="f")
[1] "dufus"   "f"       "f1"      "fake.df" "ff"      "fm1"     "one.df"  
"one1.df" "x.df"    "xf"
>mode(objects(pat="f"))
[1] "character"
>

I would like to determine the mode of these objects.  For instance, dufus 
and f are functions, while fake.df and one.df are data frames.

I tried writing to a list, but still can't get it!

Thanks in advance!

Laura
mailto: lauraholt_983 at hotmail.com




More information about the R-help mailing list