While working to solve another problem I got this problem:
I can remove all R objects by:
rm(list = ls(all = TRUE))
Is there equiv
or if you have RStudio, simply uncheck all the checked boxes in Packages Tab to detach