I have loaded in a R console different type of objects. I can remove them all using
rm(list=ls())
or remove only the functions (but not the variables) using
rm(list=lsf.str())
My question is: is there a way to remove all variables except the functions
See Question&Answers more detail:os