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

Gabor Grothendieck ggrothendieck at gmail.com
Fri Jun 10 19:30:38 CEST 2005


On 6/10/05, Gabor Grothendieck <ggrothendieck at gmail.com> wrote:
> On 6/10/05, Robert Citek <rwcitek at 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")
> 

Sorry, that should be:

apropos("", mode = "character")
apropos("", mode = "numeric")




More information about the R-help mailing list