[R] A way to list only variables or functions?
Prof Brian Ripley
ripley at stats.ox.ac.uk
Sun Jun 20 09:30:50 CEST 2004
On Sat, 19 Jun 2004, Shin wrote:
> I am curious if there is any way to list only variables or functions in
> current environment, rather than listing all objects? Thanks.
Not really. What you can do is list the objects and then get the objects
and look at the modes, as ls.str does. That could easily be modified to
just list, but you may find what it gives helpful anyway.
--
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