Offline install of R package and dependencies

The correct answer was given by Joshua Ulrich in the comment on the question: The key is prefixing the argument to either repos or contriburl with file://. So in Unixy systems one could do: install.packages(“ggplot2″, contriburl=”file:///path/to/packages/”) This assumes that all required source packages, as well as a PACKAGES index file is available in /path/to/packages. If … Read more