R code to some of the papers I've published or contributed is HERE.
Empirical Dynamic Modelling (EDM)
Jim Cloern explains the scientific writing and publishing!
Judith Curry's Climate Etc.
Hans Rosling's Gapminder