[R] type of objects in last session

Marco Silva marco.prado.bs at gmail.com
Mon Aug 1 15:28:02 CEST 2016


Sometimes I comeback with a session months later. I would like to know
the type of variables I have in. So I tried:


> sapply(ls(), typeof)
        ago_ts       ago_ts.1       ago_ts.2        annualy           conn 
   "character"    "character"    "character"    "character"    "character" 
         d_jul             df          diffs              f            fit 
   "character"    "character"    "character"    "character"    "character" 
             i            ibm        ibm_url     increments increments_jul 
   "character"    "character"    "character"    "character"    "character" 
        jul_ts           lago       lnkd_url          model      model_jul 
   "character"    "character"    "character"    "character"    "character" 
            op           rain              t             t2            ts_ 
   "character"    "character"    "character"    "character"    "character" 

And I noticed everything is type "character".
Obviously wrong answer. So How can I have the right answer ?

Thanks

-- 
Marco Arthur @ (M)arco Creatives



More information about the R-help mailing list