ls()[sapply(ls(), function(x) is.function(get(x)))]

On Fri, Dec 17, 2010 at 12:12 PM, Erin Hodgess <erinm.hodgess@gmail.com>wrote:

> Dear R People:
>
> Is there a way to find which objects are functions via ls(), please?
>
> I'm sure that there is, but I'm not sure how.
>
> Thanks,
> Erin
>
>
> --
> Erin Hodgess
> Associate Professor
> Department of Computer and Mathematical Sciences
> University of Houston - Downtown
> mailto: erinm.hodgess@gmail.com
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html<http://www.r-project.org/posting-guide.html>
> and provide commented, minimal, self-contained, reproducible code.
>

	[[alternative HTML version deleted]]

