When discussing performance with colleagues, teaching, sending a bug report or searching for guidance on mailing lists and here on SO, a reproducible example is often asked and always helpful.
This begs certain questions:
- What are your tips for creating an excellent example?
- How do you paste data structures from r in a text format?
- What other information should you include?
- Are there other tricks in addition to using
- When should you include
- Which reserved words should one avoid, in addition to
Or, simply: How does one make a great r reproducible example?