> From: Robert Citek
>
> 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?
ls(pos="package:base") lists all objects that are user-visible in the
base
package. Do that for any package on the search path. You might only be
interested in those that are not functions, though.
> For example, "pi" is another built-in, but "e" is not.
A means to
> list them would be nice.
Another useful thing is find(); e.g., find("LETTERS").
Andy
> Regards,
> - Robert
>
> ______________________________________________
> 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
>
>
>