[R-SIG-Mac]Making packages

Stefano Iacus jago@mclink.it
Wed, 17 Apr 2002 20:50:26 +0200


The first thing to do is to be able to build R itself.

I suggest you to start with the forthcoming release of R 1.5.0.
It has new and more efficient way to build the code and the packages.

Once R 150 is out, look at the source code in the directory 
src/macintosh and read the file INSTALL inside this folder.
There you find step by step procedure to build R. You don't need to 
build R on your own, but you have to fit all the requirements in terms 
of compiler and libraries (look at the section REQUIREMENTS). When you 
have done, you'll be able to build your package by simply using one of 
the makefiles you will find in the src/library/<package>/src  folder and 
adapting it to your needs (is changing the library name and the list of 
file names to compile).

For what concerns a R package you have to look at the "Writing R-exts" 
manual.

For any particular problem you can then ask me or Jean Thioulouse 
<Jean.Thioulouse@biomserv.univ-lyon1.fr> who is helping me with package 
mantaining.

stefano




On Mercoledì, aprile 17, 2002, at 03:24 , Peter Macdonald wrote:

> I have a set of functions I want to make into a package. Where can I 
> find
> complete instructions for preparing a package and compiling it for Mac
> carbon? Thanks!
>
> *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>  Peter D.M. Macdonald, D.Phil.      McMaster University
>  Professor of Math & Statistics     Hamilton, Ontario, Canada L8S 4K1
> *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac@stat.math.ethz.ch
> http://www.stat.math.ethz.ch/mailman/listinfo/r-sig-mac
>