Create installallpkgs.R

Added file provided by Brian.