Port of sm library, installing library components

Prof Brian Ripley ripley@stats.ox.ac.uk
Sat, 20 Feb 1999 16:31:21 +0000 (GMT)

I have an almost complete port of the sm library/package (only things
depending on gam are not operational) at


Before I send it to CRAN, I would appreciate some help in checking that
you can install it. The problem is that the Fortran it uses on Solaris
calls a routine in a Fortran library not linked into R. I have a Makefile
(supplied but not the default) that works on Solaris, and I have no
problem with g77 on any of the platforms I have (Solarises, RH5.2-i586,
win32). If people who use a Fortran compiler other that g77 could try this
and let me know what is needed it would help me write more comprehensive
instructions.  Beware of lazy binding: the file Install tells you how to
run a test of the problematical routine.

Incidentally, the sm package includes a large number of S scripts that
need to be installed. I have cheated by putting these in the exec
sub-directory, but there appears to be no mechanism (except on Windows) to
use R INSTALL to install components other than R code, C/Fortran, exec
scripts and help. Should we have one? E.g.

cp -r packagesrc/install_extras/*  Rlibrary/packagename/

One advantage would be to make it easy for package packagers to specify
what they wanted to be distributed in all binary distributions. (I would
like to see the DESCRIPTION file installed so the version information is
always there, and in some packages, including sm, there is a Licence

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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch