
COPYRIGHT STATUS

The bulk of this code is copyright by members of or all of the R
Development Core Team.

See the file COPYING for the exact conditions under which you may
redistribute it.

	---------------------------------------------------

The public header files and import libraries are distributed under the
more permissive terms of the file COPYING.LIB.  This applies only to
the files

src/include/R.h
src/include/Rdefines.h
src/include/Rgraphics.h
src/include/Rinternals.h
src/include/Rmath.h
src/include/S.h
src/include/R_ext/*.h
src/gnuwin32/R.exp (a generated file in binary distributions only)
src/main/R.exp,  generated by tools/ldAIX4 whilst building R on AIX.

From the announcement of the change (2001-Feb-05)

    It came to our attention that some projects are interpreting GPL to
    mean that compiling against the header files or linking against a
    Windows import library brings the compiled code under the scope of
    GPL.  This would mean it would be impossible to distribute binary
    versions of non-GPL packages with compiled code which called entry
    points in the R executable or DLL, of which there are many on CRAN.

    We encourage packages to be distributed under Open Source conditions,
    but accept that this is not possible for some contributions.  Our
    intention is that export files and import libraries be `accessors'
    under clause 5 of the LGPL, so that in most cases no (additional)
    restrictions are imposed by compiling a package using the LGPL-ed
    components of R.

    To avoid any anomalies, the versions of the same files in R versions
    1.0.0 to 1.2.1 may also be used under LGPL or GPL.

	---------------------------------------------------


Some of the code contains different copyright statements.  It is used
here in accordance with the copyright conditions in that code.

afm/*___.afm

	Copyright (c) 1984 to 1992 Adobe Systems Incorporated.

afm/*l.afm

	Copyright 1999 by (URW)++ Design & Development

afm/CM_*.afm
afm/cm*.afm

	are derived from afms which are copyright by the American
	Mathematical Society, but `the AMS does require that the
	AMS copyright notice be removed from any derivative versions
	of the fonts which have been altered in any way'.

doc/html/search/*.java

	Copyright (C), 1998 Thomas Baier
or	Copyright (C), 1998-2000, Thomas Baier, R Core Development Team

doc/manual/texinfo.tex

	Copyright (C) various dates Free Software Foundation, Inc.

share/texmf/upquote.sty

	Copyright 2000 Michael A. Covington.
	Copyright 2003 Michael A. Covington, Frank Mittelbach.

src/library/graphics/R/mosaicplot.R

	Copyright (C) 1998 John W. Emerson


src/library/stats/R/aov.R
src/library/stats/R/bandwidths.R
src/library/stats/R/contr.poly.R
src/library/base/R/expand.grid.R
src/library/stats/R/predict.glm.R
src/library/stats/R/update.R
src/library/stats/*/max.col.R*
src/library/stats/R/biplot.R
src/library/stats/R/princomp-add.R
src/appl/bandwidths.c
src/appl/maxcol.c

	Copyright (C) various dates W. N. Venables and B. D. Ripley


src/appl/interv.c : moved to API from code originally in
		    src/library/stats/src/bvalue.f, see the following
src/library/stats:

	See the file src/library/stats/COPYRIGHTS.modreg for details

      src/loessc.c
      src/loessf.f

	Copyright (c) 1989, 1992 by AT&T.


src/library/stats/R/diffinv.R
src/library/stats/R/embed.R
src/library/stats/R/kernel.R
src/library/stats/src/PPsum.c

	Copyright (C) 1997-1999	 Adrian Trapletti


src/library/stats/src/carray.c, mburg.c, myw.c, qr.c

	Copyright (C) 1999 Martyn Plummer


src/unix/rotated.[ch]

	Copyright (c) 1993 Alan Richardson


src/appl/loglin.c
src/library/stats/src/chisqsim.c
src/library/stats/src/nscor.c
src/library/stats/src/prho.c
src/library/stats/src/swilk.c
src/library/stats/src/kmns.f
src/library/ts/src/starma.c
src/nmath/pgamma.c
src/nmath/pnbeta.c
src/nmath/pnchisq.c
src/nmath/pnt.c
src/nmath/qbeta.c
src/nmath/qgamma.c
src/nmath/qnorm.c
src/nmath/qtukey.c
src/nmath/sunif.c
  are based in whole or in part on Applied Statistics algorithms
  (C) Royal Statistical Society

src/nmath/stirlerr.c
src/nmath/dbinom.c
src/nmath/dpois.c
  are now partly based on Clive Loader's (1999) work,
  (C) 1999-2000 Lucent Technologies, Bell Laboratories.

src/modules/gnome/devGNOME.c
src/modules/gnome/gdkrotated.c
src/modules/gnome/gnome-find-dialog.c
src/modules/gnome/gtkconsole.c
src/modules/gnome/system-*.c
src/modules/gnome/terminal*.c

	Copyright (C) 1998-1999	  Lyndon Drake
		and the R Development Core Team


src/main/RNG.c

  The Mersenne-Twister part is
  Copyright (C) 1997, 1999 Makoto Matsumoto and Takuji Nishimura.

  The Knuth-TAOCP part says

    This program by D E Knuth is in the public domain and freely copyable
    AS LONG AS YOU MAKE ABSOLUTELY NO CHANGES!

  and is used unchanged.


src/modules/lapack/dlapack[0123].f, cmplx.f, dlamc,f rgeev.f, rsyev.f

  Extracted from
  *  -- LAPACK routine (version 3.0) --
  *     Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
  *     Courant Institute, Argonne National Lab, and Rice University

  The README says

    It is freely-available software, and is copyrighted.

  although no actual copyright statement appears in the code.


src/main/vsnprintf.c

  Taken from the wget 1.8.1 distribution: only used on platforms
  without vnsprintf.
  /*
   * Copyright Patrick Powell 1995
   * This code is based on code written by Patrick Powell (papowell@astart.com)
   * It may be used for any purpose as long as this notice remains intact
   * on all source code distributions
   */


src/main/regex.c
src/main/Rregex.h

   Copyright (C) 1993, 94, 95, 96, 97, 98, 99 Free Software Foundation, Inc.
   Copyright (C) 1985,89,90,91,92,93,95,96,97,98 Free Software Foundation, Inc.


src/extra/xdr/*

	Copyright (undated) Sun Microsystems, Inc.

	See the file src/extra/xdr/copyrght.txt


src/extra/zlib/README, *.c, *.h

  Taken from zlib-1.2.1 (C) 1995-2003 Jean-loup Gailly and Mark Adler
  See src/extra/zlib/README for the licence.


src/main/dounzip.c, unzip.h

  Contains code Copyright (C) 1998 Gilles Vollant from contrib/minizip
  in the zlib 1.1.3 distribution.


src/main/acosh.c, asinh.c, atanh.c

used on Windows mainly.  Based on

  Cephes Math Library Release 2.8:  June, 2000
  Copyright 1984, 1995, 2000 by Stephen L. Moshier


src/main/apse.c
src/main/apse.h

  Copyright (C) Jarkko Hietaniemi, 1998,1999,2000,2001.


src/extra/pcre/LICENCE
src/extra/pcre/dftables.c
src/extra/pcre/get.c
src/extra/pcre/internal.h
src/extra/pcre/maketables.c
src/extra/pcre/pcre.c
src/extra/pcre/pcre.h
src/extra/pcre/study.c

   Copyright (c) 1997-2004 University of Cambridge
   All rights reserved.

See file src/extra/pcre/LICENCE.  For binary builds of R that requires
us to include

  Redistribution and use in source and binary forms, with or without
  modification, are permitted provided that the following conditions are met:

      * Redistributions of source code must retain the above copyright notice,
	this list of conditions and the following disclaimer.

      * Redistributions in binary form must reproduce the above copyright
	notice, this list of conditions and the following disclaimer in the
	documentation and/or other materials provided with the distribution.

      * Neither the name of the University of Cambridge nor the names of its
	contributors may be used to endorse or promote products derived from
	this software without specific prior written permission.

  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
  LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  POSSIBILITY OF SUCH DAMAGE.


src/extra/bzip2/LICENSE
src/extra/bzip2/blocksort.c
src/extra/bzip2/bzlib.c
src/extra/bzip2/bzlib.h
src/extra/bzip2/bzlib_private.h
src/extra/bzip2/compress.c
src/extra/bzip2/crctable.c
src/extra/bzip2/decompress.c
src/extra/bzip2/huffman.c
src/extra/bzip2/randtable.c

   copyright (C) 1996-2002 Julian R Seward.


src/library/tools/src/md5.[ch]

    Copyright (C) 1995, 1996, 2001 Free Software Foundation, Inc.


src/unix/dlfcn-darwin.[ch]
[Used only on MacOS X]

    Copyright (c) 2002 Jorge Acereda  <jacereda@users.sourceforge.net> &
                       Peter O'Gorman <ogorman@users.sourceforge.net>
    See the headers of the files for the licence.
