[Rd] Recursive objects
Kenn Konstabel
lebatsnok at gmail.com
Wed May 4 14:35:57 CEST 2011
On Wed, May 4, 2011 at 3:26 PM, Hadley Wickham <hadley at rice.edu> wrote:
> Hi all,
>
> Does anyone have a comprehensive list of recursive-type objects in R?
> is.recursive defines them as by exclusion: "most types of objects are
> regarded as recursive, except for vector types, ‘NULL’ and symbols
> (as given by ‘as.name’)." I think this that means recursive objects
> are:
>
> * lists
> * pairlists
> * calls
> * expressions
is.recursive(environment())
# [1] TRUE
>
> Did I miss anything?
>
> Hadley
>
> --
> Assistant Professor / Dobelman Family Junior Chair
> Department of Statistics / Rice University
> http://had.co.nz/
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
More information about the R-devel
mailing list