Re: [R] contributed package source codes

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Wed 04 May 2005 - 18:40:35 EST

On Wed, 4 May 2005, Duncan Murdoch wrote:

> mingan wrote:
>>
>>
>>
>> Is there a way for me to get the source code ( C/C++ or FORTRAN) for a
>> specific R package ?
>
> The source to contributed packages is in <CRAN
> mirror>/src/contrib/PACKAGES.html. You can find your CRAN mirror by looking
> at the CRAN entry in options("repos"). (You may need to call
> chooseCRANmirror() first, if it hasn't already been called.)

And in 2.1.0 you can retrieve the source by e.g.

         download.packages("AMORE", type="source", destdir="/tmp")

on any platform (MacOS X not tested).

-- 
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 Wed May 04 18:47:56 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:33 EST