Re: [Rd] package that has a subdirectory in src

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Sun 24 Sep 2006 - 18:59:08 GMT

On Sun, 24 Sep 2006, Armstrong, Whit wrote:

> How does one tell R to compile code contained in subdirs of the /src
> directory?

Write a src/Makefile. There are several examples on CRAN: e.g. Matrix, SQLiteDF, mapproj.

> I have a few files that I'd like to keep together as one unit.
>
> The cheesy way that I can think of is to put slinks in the src directory
> to the files contained in the subdir, but that's not really the solution
> I'm looking for.
>
> I was hoping to avoid adding a configure.in file to the project.
>
> By way of background information, the files in the subdirectory are a
> separate subversion project that is shared between many R packages that
> I am working on. Does anyone have any suggestions?

-- 
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-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Mon Sep 25 05:01:21 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 Sun 24 Sep 2006 - 22:30:13 GMT.

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