From simon.urbanek at r-project.org  Wed Nov 19 22:07:54 2008
From: simon.urbanek at r-project.org (Simon Urbanek)
Date: Wed, 19 Nov 2008 16:07:54 -0500
Subject: [Rd] Strategy for downloading packages
In-Reply-To: <49247C96.3010504@stats.uwo.ca>
References: <49247C96.3010504@stats.uwo.ca>
Message-ID: <168D1CBD-2D85-49EB-B1E9-B35A7EE61740@r-project.org>


On Nov 19, 2008, at 15:52 , Duncan Murdoch wrote:

> I have a client who wants to install R and a custom package on a  
> machine with no internet connection, so he wants to put everything  
> needed on a CDROM and install from there.
>
> I've told him how to work out what is needed, but it seems that too  
> much manual work is needed:  he needs to install the packages  
> from .zip files (this is Windows) in the right order so dependencies  
> are met, etc.
>

Why would that be necessary? The order is plays no role, since all  
it's just unpacking, so you can as well burn the content of the  
installed library and you're set... Or am I missing something?

Cheers,
S



> Is there an automated tool to do this?  That is:
>
> - start from an R installation that's working, and then follow the  
> dependency tree from a specified list of packages to generate a list  
> of packages to download
> - download all the .zip or .tar.gz files for those from CRAN  
> (possibly listing the ones that don't exist there, because they are  
> local custom ones)
> - produce a script that can be run to install all of them on a new R  
> install.
>
> Duncan Murdoch
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>



[Rd] Strategy for downloading packages
Simon Urbanek