You will have to keep grinding a little while longer, but don't worry, those things are only a few lines in R, almost everything in R is 'vectorized', meaning that most functions work on whole vectors. Quants usually work with time-series objects (zoo or xts), but you will get to that stuff later...
Here is an example of what can be done...
http://blog.fosstrading.com/2009/07/...ternative.html
Here is an example of what can be done...
http://blog.fosstrading.com/2009/07/...ternative.html
The breaking of a wave cannot explain the whole sea.