How to organize large R programs?
The standard answer is to use packages — see the Writing R Extensions manual as well as different tutorials on the web. It gives you a quasi-automatic way to organize your code by topic strongly encourages you to write a help file, making you think about the interface a lot of sanity checks via R … Read more