Re: [R] Distributing packages online

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Sat 06 May 2006 - 04:14:23 EST

On Fri, 5 May 2006, Carlos J. Gil Bellosta wrote:

> Can anybody give me a hint as to which would be key command in this
> function how could the uploading function be defined so that the latest
> version would be updated or installed?

Read the R-admin manual about how to set up a repository. Then you can just use update.packages().

> Dear R users,
>
> A customer of mine has asked me to develop a R-package. The sitiuation
> is as follows:
>
> 1) Being a special purpose package, it does not merit to be uploaded to
> any CRAN server.
> 2) It is subject to many changes, bug fixes, and the like.
> 3) It has then to be distributed to a relatively large and sparse base
> of users.
>
> I thought that it would be convenient to have it distributed in the
> following way:
>
> 1) I upload new versions to a server.
> 2) I provide a function that points to that server and installs it.
>
> Therefore, users need only invoke this function in order to access the
> last package version.
>
> Suppose I upload the package to
>
> http://www.myserver.com/packages/mypackage_X.Y.Z.tar.gz
>
> Typically, several versions would be stored there.
>
> The uploading function should be invoked simply. For instance,
>
>> update.mypackage()
>
> Can anybody give me a hint as to which would be key command in this
> function how could the uploading function be defined so that the latest
> version would be updated or installed?
>
> Thank you very much for your help.
>
> Carlos J. Gil Bellosta
> http://www.datanalytics.com
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Sat May 06 04:18:51 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 06 May 2006 - 06:10:03 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.