Install Essential and Useful R Packages

Posted on Jan 23, 2015 in Programming

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

** Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives. **

pkgs = ("data.table", "ggplot2", "RJDBC", "xlsx", "rmarkdown", "Rcpp", "inline")
install.packages(pkgs)
## biostatistics
source("http://bioconductor.org/biocLite.R")
update.packages(ask = FALSE, checkBuilt = TRUE)

unfortunately sometimes fail to upgrade bioconductor packages ... and have to use biocLite('pkg') ... the problem is largely caused by the fact that you used a single persoanl R libary .... if you used different R libraries for different versions of R, then you won't have the problem ... remove.packages("BiocInstaller") and then

I guess the best way is just to remove R and its library completely and have a branch new installation ....