[R] check variables: a Q from a beginner
Yan Yu
yanyu at cs.ucla.edu
Fri Jan 17 03:51:03 CET 2003
THank you for the infomation.
They all work great!
yan
On Thu, 16 Jan 2003, Emmanuel Paradis wrote:
> A 20:24 15/01/2003 -0800, Roger Peng a écrit:
> >You may want to just try summary(varname) or more likely you want
> >str(varname).
>
> Or even better: ls.str(), which does str() on all objects listed by ls().
>
>
> >-roger
> >_______________________________
> >UCLA Department of Statistics
> >rpeng at stat.ucla.edu
> >http://www.stat.ucla.edu/~rpeng
> >
> >On Wed, 15 Jan 2003, Yan Yu wrote:
> >
> > > HI, all,
> > > How can i check the variables that is currently being loaded..
> > > ls() only list the variable name, but not the summary of the variable,
> > > like the dimension of the variable etc.. Is there a command in R, which
> > > is equivalent to "whos" in matlab, which let me check the variables
> > > currently loaded in Matlab..
>
> If you have highly structured objects, try this: ls.str(max.level = -1).
>
> > > also, Does anyone have recommendation on ~a good reference to R..
> > > I could not find the answer to my Q in the documentation included with R
> > > package..
> > >
>
> You may have a look at my tutorial "R for beginners" though it is far from
> a reference doc it mentions ls.str() among the few things to know before
> starting. You can find it in the contributed docs section on CRAN.
>
> Hope this helps.
>
> Emmanuel Paradis
>
> >
> > > thanks,
> > > yan
> > >
> > > ______________________________________________
> > > R-help at stat.math.ethz.ch mailing list
> > > http://www.stat.math.ethz.ch/mailman/listinfo/r-help
> > >
> >
> >______________________________________________
> >R-help at stat.math.ethz.ch mailing list
> >http://www.stat.math.ethz.ch/mailman/listinfo/r-help
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> http://www.stat.math.ethz.ch/mailman/listinfo/r-help
>
More information about the R-help
mailing list