Amazon is currently making the first edition of Bayesian Computation with R (Use R) by Jim Albert available for free on Kindle. I own a copy of the book and there is a lot of good content and R examples on how one can do general Bayesian statistics. The R scripts from the book (2nd edition but there’s a lot of overlap) can be obtained on Jim Albert’s web site http://bayes.bgsu.edu/bcwr/