[R] Recursive function calls

Hadley Wickham hadley at rice.edu
Fri Aug 3 23:28:06 CEST 2012


> It's nice that R keeps the base function list short enough that you can
> look at it, but it would be nice to have a few more convenience functions
> included, especially ones that mirror common functions, like "trim"

> sum(sapply(search(), function(x) length(ls(x))))
[1] 2376

Over two thousand objects seems like rather a lot to me...

Hadley

-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/



More information about the R-help mailing list