How do you guys organize code that you routinely use? As a non-native programmer, I'm slow creating/finding useable code so I rely mainly on existing code. I then have notes on the code, how to use it etc. and when i need to use it i have to look in my notes to remember everything. But, I feel there is a better method out there for quickly implementing code. For example I would like to have a selection process for data, data type, then methods to apply hypothesis testing/transformations/data building to choose from. Right now I'm investigating existing software and programming tools to see if I can find a balance between flexibility and user interface. I use R quite a bit, so im also checking out some of the gui's that are available.I have feelng Visual Studio or something similar could help, but I couldn't find a dumbed down answer.