How to tell what packages you have used in R

前端 未结 6 1374
闹比i
闹比i 2020-12-29 04:35

I have a very long R script with many if statements and exception cases. As i\'ve been going, if been importing and testing libraries as I\'ve gone and haven\'t really docum

6条回答
  •  清歌不尽
    2020-12-29 05:34

    You might want to look at the checkpoint function from Revolution Analytics on GitHub here: https://github.com/RevolutionAnalytics/checkpoint

    It does some of this, and solves the problem of reproducibility. But I don't see that it can report a list of what you are using.

    However if you looked a the code you probably get some ideas.

提交回复
热议问题