Henrik solution is probably just what you need, but just to mention a similar solution, there is also:
if (!require('installr')) install.packages('installr'); require('installr') install.packages.zip("zip_URL") (the source code is here: https://github.com/talgalili/installr/blob/master/R/install.r) And if two packages created the same function, I am wondering if this might be a worthwhile patch to add to "install.packages" (but there are more important things to do first, I imagine). Best, Tal ----------------Contact Details:------------------------------------------------------- Contact me: tal.gal...@gmail.com | Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-statistics.com (English) ---------------------------------------------------------------------------------------------- On Tue, Aug 27, 2013 at 4:33 PM, Henrik Bengtsson <h...@biostat.ucsf.edu>wrote: > On Sun, Aug 25, 2013 at 10:55 AM, Christofer Bogaso > <bogaso.christo...@gmail.com> wrote: > > Hello again, > > > > I need to install Rmpi package from this > > http://www.stats.uwo.ca/faculty/yu/Rmpi/download/windows/MPICH2 > > > > I was wondering if there is any direct way to install this in R. The > > trivial method would obviously be download and save the required zip file > > in the local disk and install it from there. > > R.utils::installPackages(url) > > /Henrik > > > > > Any idea? > > > > Thanks and regards, > > > > [[alternative HTML version deleted]] > > > > ______________________________________________ > > R-help@r-project.org mailing list > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > > and provide commented, minimal, self-contained, reproducible code. > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.