cboettig
  • Member for 10 years
  • Last seen more than 7 years ago
What would be the most helpful way to write code for a paper so that readers can clearly match the results to the code that generates them?
5 votes

The noweb approach mentioned by Bill has evolved quite a bit, both in it's original spirit of documenting code (rather than scientific publication) under the term literate programming and now comes in ...

View answer
How to link code to publications
8 votes

Great question and great replies, but I think none addresses the question of persistence adequately, if the goal is to achieve the same standard accorded to the publication itself. (Which may be ...

View answer
How do I make sure that the results of my simulations and the results in my paper are always in sync?
Accepted answer
15 votes

As some comments have suggested, this approach has long been developed in the R community by building on Sweave and more recently, knitr. Obviously this approach has the disadvantage of being ...

View answer