SyntaxFix
Write A Post
Hire A Developer
Questions
assuming you want to remove every object except df from environment:
rm(list = ls(pattern="[^df]"))