[R] Types of objects?

Gabor Grothendieck ggrothendieck at gmail.com
Mon Jan 1 20:26:15 CET 2007


Try class, typeof and mode.

On 1/1/07, Raymond Balise <iteachtyping at gmail.com> wrote:
> What I am looking for is a function that goes with section 2.8 of the
> "Introduction to R" PDF that ships with R.  It says that the R objects are
> vectors, matrices, factors, lists, data frames and functions.  Is there a
> function that returns this level of information or is that taxonomy just
> something artificial for the write up?
> Ray
>
>
> On 1/1/07, Dieter Menne <dieter.menne at menne-biomed.de> wrote:
> >
> > Raymond Balise <iteachtyping <at> gmail.com> writes:
> >
> > >
> > > Is there a list of object types used by R?  Is there a function that I
> > can
> > > use to tell the type of an object?
> > typeof()
> >
> > Dieter
> >
> > ______________________________________________
> > R-help at stat.math.ethz.ch mailing list
> > 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.
> >
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> 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.
>



More information about the R-help mailing list