title: when do you want to set up new environments in R
body: <p>per the discussion of R programming styles, I saw someone once said he puts all his custom function into a new environment and attach it. I also remember R environment maybe used as a hash table. Is this good style? When do you want to put your data/functions into a new enviroment? Or just use the.GlobalEnv whatever?</p>
  
  <p><strong>EDIT</strong> put my second part of question back:
  how to inspect same name variable for different environments? </p>