type of objects in last session
That's what happens when I answer too fast... Sorry for that. Next time I'll read more carefully! Ivan -- Ivan Calandra, PhD Scientific Mediator University of Reims Champagne-Ardenne GEGENAA - EA 3795 CREA - 2 esplanade Roland Garros 51100 Reims, France +33(0)3 26 77 36 89 ivan.calandra at univ-reims.fr -- https://www.researchgate.net/profile/Ivan_Calandra https://publons.com/author/705639/ Le 01/08/2016 ? 15:45, Ivan Calandra a ?crit :
Maybe "mode" or "class" instead of "typeof"? Ivan -- Ivan Calandra, PhD Scientific Mediator University of Reims Champagne-Ardenne GEGENAA - EA 3795 CREA - 2 esplanade Roland Garros 51100 Reims, France +33(0)3 26 77 36 89 ivan.calandra at univ-reims.fr -- https://www.researchgate.net/profile/Ivan_Calandra https://publons.com/author/705639/ Le 01/08/2016 ? 15:28, Marco Silva a ?crit :
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
______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.