Commit 5c85c090 authored by Dirk Eddelbuettel's avatar Dirk Eddelbuettel

Import Upstream version 0.62.4

parent 87e1c683

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

This diff is collapsed.
......@@ -2,7 +2,7 @@
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
675 Mass Ave, Cambridge, MA 02139, USA
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
......@@ -279,7 +279,7 @@ POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
Appendix: How to Apply These Terms to Your New Programs
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
......@@ -305,7 +305,8 @@ the "copyright" line and a pointer to where the full notice is found.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Also add information on how to contact you by electronic and paper mail.
......
......@@ -8,20 +8,19 @@ redistribute it.
Some of the code contain different copyright statements. It is used
here in accordance with the copyright conditions in that code.
src/regex/*
Copyright 1992, 1993, 1994 Henry Spencer.
Copyright (c) 1994 The Regents of the University of California.
src/unix/rotated.[ch]
Copyright (c) 1993 Alan Richardson
src/math/pbeta.c
afm/*
Copyright 1984, 1995 by Stephen L. Moshier
Copyright (c) 1984 Adobe Systems Incorporated.
lib/afm/*
src/library/base/R/aov.R
src/library/base/R/biplot.R
src/library/base/R/contr.poly.R
src/library/base/R/predict.glm.R
src/library/base/R/update.R
src/library/mva/R/princomp-add.R
Copyright (c) 1984 Adobe Systems Incorporated.
copyright (C) 1998 W. N. Venables and B. D. Ripley
......@@ -10,7 +10,7 @@ and sunos. In general it is relatively easy to adapt R to new
platforms. See below for details.
SIMPLE INSTALLATION
SIMPLE COMPILATION
Choose a place to install the R tree (R is not just a binary, but has
additional data sets, help files, font metrics etc). Let's call this
......@@ -25,39 +25,92 @@ the `$RHOME/bin' directory. In addition, a shell script font-end
called "R" will be created and copied to the same directory. You can
copy this script to a place where users can invoke it, for example to
`/usr/local/bin/R'. You could also copy the man page `R.1' to a place
where your man reader finds it, such as `/usr/local/man/man1'.
where your man reader finds it, such as `/usr/local/man/man1'. If you
want to install the complete R tree to, e.g., /usr/local/lib/R, see
section INSTALLATION below.
Using
If you need or want to set certain configure variables to something
other than their default, you can do that by either editing the file
`config.site' or on the command line as
make docs
VAR="..." ./configure # Bourne shell compatibles
(setenv VAR "..."; ./configure) # C shell
will build plain text help pages as well as HTML and LaTeX versions of
the documentation (the three kinds can also be generated separately
using make help, make html and make latex). Note that as of R version
0.60, you need Perl version 5 to build the documentation. If this is
not available on your system, you can obtain precompiled documentation
files via the `doc/pre-formatted-help' directory of the Comprehensive
R Archive Network (CRAN), see the file `RESOURCES' for information on
CRAN.
One common variable to change is R_PAPERSIZE, which defaults to a4, not
letter.
Make will also build plain text help pages as well as HTML and LaTeX
versions of the documentation (the three kinds can also be generated
separately using make help, make html and make latex). Note that as
of R version 0.60, you need Perl version 5 to build the documentation.
If this is not available on your system, you can obtain precompiled
documentation files via the `doc/pre-formatted-help' directory of the
Comprehensive R Archive Network (CRAN), see the file `RESOURCES' for
information on CRAN.
Now type R and reach for your S manuals ...
INSTALLATION
After
./configure
make
have been completed successfully, you can install the complete R tree
to your system by typing
make install
This will install to the following directories:
$prefix/bin executables
$prefix/man/man1 man pages
$prefix/lib/R all the rest (libraries, online help
system, ...)
where prefix is determined during configuration (typically /usr/local)
and can be set by running configure with the option
./configure --prefix=/where/you/want/R/to/go
The prefix of the installation directories can also be seen in the
status message that is displayed at the end of configure.
If you have libraries and header files, e.g. for GNU readline, in
non-system directories, use the variables LIBS (for libraries) and
CPPFLAGS (for header files), respectively, to specify these locations.
USING FORTRAN
R is "shipped" configured so that it does not need a Fortran compiler
to build and install. For performance or other reasons you may
wish to use your Fortran compiler to compile those pieces of R
which are written in Fortran. To do this, edit the file config.site
and change the line "F77=no" as indicated in the comments above
before typing configure. There are no guarantees that this will
work, but it may.
To compile R, you need a FORTRAN compiler or f2c, the FORTRAN-to-C
converter. The default is to search for f77, g77, fort77, f90, xlf,
cf77, and fc (in that order), and then for f2c, and use whichever is
found first; if none is found, R cannot be compiled. The search
mechanism can be changed using the `--with-g77', `--with-f77', and
`--with-f2c' command line options to configure. If your FORTRAN
compiler is in a non-standard location, you can specify it via
`--with-f77=path.to.f77'.
TWO-LEVEL MAKE
If you don't need to supply any special arguments to "configure", you
can actually build R simply by typing "make", which will automatically
run "configure" if the configuration files are absent. Since the build
process depends on the results of "configure", the top-level Makefile
does little more than passing control to Makefile.2nd after ensuring
that "configure" has been run.
This has the curious, but harmless, consequence that "make distclean"
and the like may run "configure" and remove the configuration files a
moment later. This looks odd, but is fairly hard to avoid.
NEW PLATFORMS (Standards Hah!)
There are a number of sources of problems when installing R on a new
harware/os platform.
hardware/os platform.
1. Floating Point Arithmetic: R supports the POSIX, SVID and IEEE
models for floating point arithmetic. The POSIX and SVID models
......@@ -89,5 +142,4 @@ If you are having trouble getting R to work on your platform please
feel free to get in touch to ask questions. We've had a fair amount
of practice at porting R to new platforms...
Ross-n-Robert
R@stat.auckland.ac.nz
R Core Members
......@@ -2,22 +2,35 @@
R SOURCE CODE MIRROR SITES
The primary R distribution site
The primary R distribution site is
ftp://stat.auckland.ac.nz/pub/R/
is mirrored DAILY at the following sites.
However, due to high internet fees in NZ, please don't use this server
unless it is absolutely necessary.
The "Comprehensive R Archive Network" (CRAN) is a collection of sites
which carry identical material, consisting of the R distribution(s),
the contributed extensions, documentation for R, and binaries.
EUROPE:
ftp://ftp.stat.math.ethz.ch/R/
ftp://statlab.uni-heidelberg.de/pub/mirrors/auckland/R/
CRAN also contains a DAILY snapshot of the latest R sources.
JAPAN:
ftp://ftp.u-aizu.ac.jp/pub/lang/R/
The CRAN master site can be found at the URL's
http://www.ci.tuwien.ac.at/R
or ftp://ftp.ci.tuwien.ac.at/pub/R/ (Austria)
and is currently being mirrored at
http://SunSITE.auc.dk/R/ (Denmark)
http://www.stat.unipg.it/pub/stat/statlib/R/CRAN/ (Italy)
ftp://ftp.u-aizu.ac.jp/pub/lang/R/CRAN/ (Japan)
ftp://dola.snu.ac.kr/pub/R/CRAN/ (South Korea)
http://stat.ethz.ch/R-CRAN/ (Switzerland)
http://lib.stat.cmu.edu/R/CRAN/ (USA/Pennsylvania)
ftp://ftp.biostat.washington.edu/mirrors/R/CRAN/ (USA/Washington)
http://cran.stat.wisc.edu/ (USA/Wisconsin)
NORTH AMERICA:
Statlib mirrors R: http://lib.stat.cmu.edu/R/
In the interests of preserving international bandwidth (and of
keeping our internet bills under control) please use a site near
......
AR=@AR@
BLAS=@BLAS@
CC=@CC@
CFLAGS=@CFLAGS@
CPICFLAGS=@CPICFLAGS@
CPPFLAGS=-I$(top_srcdir)/src/include @CPPFLAGS@
DLLFLAGS=@DLLFLAGS@
FC=@FC@
FFLAGS=@FFLAGS@
FPICFLAGS=@FPICFLAGS@
F2C=@F2C@
F2CFLAGS=@F2CFLAGS@
INSTALL=@INSTALL@
INSTALL_DATA=@INSTALL_DATA@
INSTALL_PROGRAM=@INSTALL_PROGRAM@
INSTALL_DIR=${INSTALL} -d
LDCMD=@LDCMD@
LDFLAGS=@LDFLAGS@
LIBS=@FLIBS@ @LIBS@
LN_S=@LN_S@
RANLIB=@RANLIB@
SHLIBLDFLAGS=@SHLIBLDFLAGS@
SHELL=/bin/sh
X_CFLAGS=@X_CFLAGS@
X_LIBS=@X_LIBS@
X_PRE_LIBS=@X_PRE_LIBS@
X_EXTRA_LIBS=@X_EXTRA_LIBS@
YACC=@YACC@
@f77_rules_frag@
.c.o:
$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
libdir=@libdir@
mandir=@mandir@
rhome=@libdir@/R
####---- Master Makefile for R --- this is NOT made by configure ---
install: config.status
@echo Building/Installing R
cd src; make install
@echo; echo You should; echo " make docs"
@echo "now, or at least";echo " make help"; echo
config.status: configure config.site
# The real work is being done in Makefile.2nd. This is just to ensure that
# Makeconf is built first
all R docs help html latex dvi test-All test-Examples install\
clean realclean acclean distclean :: config.status Makeconf
$(MAKE) -f Makefile.2nd $@
Makeconf config.status:: configure config.site date-stamp
-./configure
docs: build-docs
help: build-help
html: build-html
latex: build-latex
build-docs build-help build-latex build-html test-Examples:
-@cd etc; make $@
tests: test-Examples
patches:
@echo "Patches? Patches? We don't need no stinking patches!"
clean:
@echo "Cleaning at top level"
@cd demos/dynload; make $@
@echo "Cleaning ./etc/"; cd etc; make $@
@echo "Cleaning the source tree"; cd src; make $@