This does the best job I have ever seen of teaching programming and mathematic material side by side. All chapters are available online for free at the following link.
I found this link reading Dan Mirman’s recent post on R-bloggers.com. How to learn R: A flow chart