Re: [R] ctv, install.views, install.packages (& update.packages)

From: Achim Zeileis <>
Date: Mon, 14 Apr 2008 21:58:40 +0200 (CEST)

On Mon, 14 Apr 2008, Vorlow Constantinos wrote:

> Dear all,
> Wouldn't it be helpful if the
> install.views
> install.packages
> update.packages
> had a "downloadonly=TRUE" flag which would allow us to download the
> packages and install them later (or put them in a USB stick and take
> them for installation on anothe PC).
> I am behind a firewall (Bank) and I have serious plroblem updating R or
> installing views (Finance, Econometrics etc. etc.). The download breaks
> up somehow and the installation or the update never completes... From
> my ADSL at home, there is no such problem.... We can not use FTP
> either....
> I am particularly interested in the install.views that would allow a
> bundle of packages to be downloaded and installed offline....

It seems that download.packages() would do what you want to do.

For example, if you want to download all packages from the "Finance" view you could do:

library("ctv")             ## load package
x <- available.views()     ## get information about all available views
x <- x[[6]]                ## select Finance view
download.packages(x$packagelist$name, "path/to/downloaddir")

which downloads all packages from the view into the specified directory.


> Is the above possible now? If it is already, please disregard my silly
> email...
> Best regards,
> Costas
> P Think before you print.
> Disclaimer:
> This e-mail is confidential. If you are not the intended recipient, you should not copy it, re-transmit it, use it or disclose its contents, but should return it to the sender immediately and delete the copy from your system.
> EFG Eurobank Ergasias S.A. is not responsible for, nor endorses, any opinion, recommendation, conclusion, solicitation, offer or agreement or any information contained in this communication.
> EFG Eurobank Ergasias S.A. cannot accept any responsibility for the accuracy or completeness of this message as it has been transmitted over a public network. If you suspect that the message may have been intercepted or amended, please call the sender.
> [[alternative HTML version deleted]]
> ______________________________________________
> mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
> mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Mon 14 Apr 2008 - 19:58:23 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 14 Apr 2008 - 20:31:37 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive