Everytime I upgrade R using homebrew I need to install most packages again

前端 未结 3 1063
醉酒成梦
醉酒成梦 2021-02-15 18:35

R Packages are installed to /usr/local/Cellar/r/3.1.2_1/R.framework/Versions/3.1/Resources/library

Whenever I run brew upgrade r and the versio

3条回答
  •  无人及你
    2021-02-15 19:11

    I put .libPaths("/Users/tim/.R/packages") in my ~/.Rprofile so that packages are installed to a path that doesn't disappear after a version bump.

提交回复
热议问题