Skip to content

Instantly share code, notes, and snippets.

@jspaezp
Last active July 19, 2019 20:31
Show Gist options
  • Select an option

  • Save jspaezp/f829624283d5508dd2eba09eafa06ce0 to your computer and use it in GitHub Desktop.

Select an option

Save jspaezp/f829624283d5508dd2eba09eafa06ce0 to your computer and use it in GitHub Desktop.
recompile all R packages
lib <- .libPaths()[1]
pkgs <- rownames(installed.packages(lib))
install.packages(
lib = lib,
pkgs = as.data.frame(pkgs, stringsAsFactors=FALSE)$Package,
type = 'source'
)
source("https://bioconductor.org/biocLite.R")
biocLite(pkgs, type="source")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment