#!/usr/bin/env Rscript
#
#
# FIRST: run ./update_old_packages.Rd
#
# PURPOSE: updates R packages
# USAGE: ./update_packages.R at COMMAND LIME
# This is how yihui suggests updating packages.
#
print("update.packages()")
Sys.time()
{
begin <- Sys.time()
update.packages(ask = FALSE , instLib = .libPaths()[[1]], checkBuild=TRUE)
end <- Sys.time()
diff <- end - begin
diff
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.