You can use ls.strto indicate functions modeor lsf.strfor functions. Functions have printing methods that make it look different, but underneath are just object name vectors, so
rm(list = lsf.str())
will remove all user functions and
rm(list = ls.str(mode = 'numeric'))
( ). mode , data.frames .