天道酬勤,厚德载物,自强不息,求真务实,动脑动手,孜孜以求

StudyDo

天道酬勤,厚德载物,自强不息,求真务实,动脑动手,孜孜以求

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

The renv package is a new effort to bring project-local R dependency management to your projects.
There are three commands to do it.

  • ·renv::init()·, in rstudio, when you build a project, you can check this option
  • Call ·renv::snapshot()· to save the state of the project library to the lockfile, save the packages dependency
  • Update by using the ·renv::snapshot()·, if have problem, go back by using renv::restore().

Reference:

https://rstudio.github.io/renv/articles/renv.html

posted on 2021-08-01 16:26  三木人  阅读(44)  评论(0编辑  收藏  举报