title: How to get all objects in a script
body: <p>I am trying to determine all the objects in a script. ( specifically to get all the dataframes but I'll settle for all the assigned objects ie vectors lists etc.) 
  Is there a way of doing this. Should I make the script run in its own session and then somehow get the objects from that session rather than rely on the global environment.</p>