Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.LNX.4.61.0505040938160.725@gannet.stats>
Date: 2005-05-04T08:40:35Z
From: Brian Ripley
Subject: contributed package source codes
In-Reply-To: <4278887C.6080702@stats.uwo.ca>

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 at 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