[R] A way to list only variables or functions?

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Jun 21 17:24:15 CEST 2004

On Mon, 21 Jun 2004, Shin, Daehyok wrote:

> I am not familar with the unique terminology of R.

And that's why we have documentation and hope that people will read it.

> What I mean with a variable is a sort of a reference which points to a
> function or a value.

In that case, ls() does what you asked for.  All visible objects are 
symbols bound to values.

Brian D. Ripley,                  ripley at 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

More information about the R-help mailing list