R语言一次性更新全部packages

install.packages( 
    lib  = lib <- .libPaths()[1],
    pkgs = as.data.frame(installed.packages(lib), stringsAsFactors=FALSE)$Package,
    type = 'source'
)

https://www.r-bloggers.com/update-all-user-installed-r-packages-again/

posted @ 2020-06-29 20:19  2021年的顺遂平安君  阅读(422)  评论(0编辑  收藏  举报