Archive:

Month: April 2015


R update packages

By: | Post date: April 28, 2015 | Comments: No Comments

Posted in categories: Uncategorized

install.packages( lib = lib <- .libPaths()[1], pkgs = as.data.frame(installed.packages(lib), stringsAsFactors=FALSE)$Package, type = ‘source’ )   # store_packages.R # # stores a list of your currently installed packages tmp = installed.packages() installedpackages = as.vector(tmp[is.na(tmp[,”Priority”]), 1]) save(installedpackages, file=”~/Desktop/installed_packages.rda”) # restore_packages.R # # installs each package from the stored list of packages load(“~/Desktop/installed_packages.rda”) for (count in 1:length(installedpackages)) install.packages(installedpackages[count])

Installing CentOS 7

By: | Post date: April 28, 2015 | Comments: No Comments

Posted in categories: Computer Tips, Work related

Estimated partition size/usage (off 223.5GB HD) / 63GB 18GB 28% swap 16GB /usr/local 127.75GB 33GB 26% /boot 765MB 201MB 21% /data/home0 16GB 34MB 1% Step 1: setup nfs to export CentOS7 full package and ks.cfg file, start the NFS server, do not forget to lift the firewall so that it will be seen by the […]