Hi all, if this question has a convenient answer on the Internet feel free to just reply with a link. I've looked around a bit and couldn't find the right resource.
I've achieved basic competency in R (http://cran.r-project.org/), and would now like to write and save my own simple programs that ask for inputs and then use those to return results.
Here's an example. I use this set of commands (taken from statmethods.net) to import Excel files:
library(RODBC)
channel