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

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Sat 11 Jun 2005 - 03:29:10 EST

On 6/10/05, Robert Citek <rwcitek@alum.calberkeley.org> wrote:
>

> How can one discover or list all available built-in objects?
>
> On Jun 10, 2005, at 7:23 AM, Muhammad Subianto wrote:
> >> L3 <- LETTERS[1:3]
> >> L10 <- LETTERS[1:10]
>
> 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.
>

As has been pointed out, getting all objects involves a very long list. Since most of them will be of mode "function" we might want to ask for just objects that are of mode "character" or just objects that are mode "numeric":

apropos("", "character")
apropos("", "numeric")



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:47:34 2005

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