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/
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/
學習筆記,僅供參考 repeat循環 repeat循環可以重複執行相同的代碼,直到滿足停止條件。 語法 repeat { 命令行 if(關係表達式) { break #關係表達式