Re: [R] discovery (was: data.frame to character)

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Sat 11 Jun 2005 - 03:19:49 EST

On Fri, 10 Jun 2005, Robert Citek wrote:

> How can one discover or list all available built-in objects?

sort(unlist(lapply(search()[-1], ls)))

would be a good start, but with over 2000 what are you going to do with the information? (Actually, there are more ...).

> LETTERS is apparently a built-in character vector. ls() and objects
> () only lists the ones I've created. Is there a function that lists
> all available built-in objects?
>
> For example, "pi" is another built-in, but "e" is not. A means to
> list them would be nice.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help@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
Received on Sat Jun 11 03:26:46 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:30 EST