Get the list of functions loaded in R's global environment [duplicate]
See ?lsf.str
X <- lsf.str()as.vector(X) # just for printing purposes, you can use the vector in rm()rm(list=X)
ok, I have a proposal
rm(list=ls()[sapply(ls(), function(obj) "function"==class(eval(parse(text = obj)))[1])])
I am sure there is something more elegant.