如何製做出色的R可重現示例 - How to make a great R reproducible example

問題:

This post is a Community Wiki . 這篇文章是社區維基 Edit existing answers to improve this post. 編輯現有答案以改善此職位。 It is not currently accepting new answers. 它當前不接受新的答案。 Learn more . 瞭解更多

When discussing performance with colleagues, teaching, sending a bug report or searching for guidance on mailing lists and here on Stack Overflow, a reproducible example is often asked and always helpful. 與同事討論性能,教學,發送錯誤報告或在郵件列表以及堆棧溢出此處尋求指導時,常常會問到一個可重複的示例,而且老是頗有幫助。 數據結構

What are your tips for creating an excellent example? 您創建出色範例的祕訣是什麼? How do you paste data structures from r in a text format? 如何以文本格式粘貼r中的數據結構? What other information should you include? 您還應該包括哪些其餘信息? post

Are there other tricks in addition to using dput() , dump() or structure() ? 除了使用dput()dump()structure()以外,還有其餘技巧嗎? When should you include library() or require() statements? 何時應該包含library()require()語句? Which reserved words should one avoid, in addition to c , df , data , etc.? 除了cdfdata等以外,還應避免使用哪些保留字? 性能

How does one make a great r reproducible example? 怎樣才能成爲一位偉大的[R重複的例子? ui


解決方案:

參考一: https://stackoom.com/question/P1Jl/如何製做出色的R可重現示例
參考二: https://oldbug.net/q/P1Jl/How-to-make-a-great-R-reproducible-example
相關文章
相關標籤/搜索