
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/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.

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

As from R 2.3.0 import libraries are no longer used under Windows.


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

src/library/grDevices/inst/afm/*___.afm

	Copyright (c) 1984 to 1992 Adobe Systems Incorporated.

src/library/grDevices/inst/afm/MustRead.html
src/library/grDevices/inst/afm/Courier*.afm
src/library/grDevices/inst/afm/Helvetica*.afm
src/library/grDevices/inst/afm/Times*.afm
src/library/grDevices/inst/afm/Symbol.afm
src/library/grDevices/inst/afm/ZapfDingbats.afm

	Copyright (c) 1985, 1987, 1989, 1990, 1993, 1997 Adobe Systems
	Incorporated.  All Rights Reserved.

src/library/grDevices/inst/afm/*l.afm

	Copyright 1999 by (URW)++ Design & Development

src/library/grDevices/inst/afm/CM_*.afm
src/library/grDevices/inst/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
		    src/library/stats/COPYRIGHTS.modreg

src/library/stats:

	See the files src/library/stats/COPYRIGHTS.modreg and
	src/library/stats/COPYRIGHTS.portsrc for further details


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 partly based on Clive Loader's (1999) work,
  (C) 1999-2000 Lucent Technologies, Bell Laboratories.

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

  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
   Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
src/main/Rregex.h
   Copyright (C) 1985,1989-93,1995-98,2000,2001,2002,2003
   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.3 (C) 1995-2005 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 as substitution code only.  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/*.[ch]

   Copyright (c) 1997-2005 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 name of Google
	Inc. nor the names of their 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-2005 Julian R Seward.


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

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


src/extra/intl/*

Based on gettextize from gettext 0.14.5
   Copyright (C) 1995-1999, 2000-2005 Free Software Foundation, Inc.


src/include/memcheck.h
src/include/valgrind.h

From valgrind,

   Copyright (C) 2000-2005 Julian Seward.  All rights reserved.


src/main/mkdtemp.c

From glibc via
http://lists.gnu.org/archive/html/bug-gnulib/2003-02/msg00019.html

   Copyright (C) 1999, 2001-2003 Free Software Foundation, Inc.

Windows version
===============

src/gnuwin32/e_pow.S

is distributed under the Lesser GNU Public Licence (file COPYING.LIB),
being based closely on code in the GNU C Library.


src/gnuwin32/getline/*

/*
 * Copyright (C) 1991, 1992, 1993 by Chris Thewalt (thewalt@ce.berkeley.edu)
 *
 * Permission to use, copy, modify, and distribute this software 
 * for any purpose and without fee is hereby granted, provided
 * that the above copyright notices appear in all copies and that both the
 * copyright notice and this permission notice appear in supporting
 * documentation.  This software is provided "as is" without express or
 * implied warranty.
 *
 * Thanks to the following people who have provided enhancements and fixes:
 *   Ron Ueberschaer, Christoph Keller, Scott Schwartz, Steven List,
 *   DaviD W. Sanderson, Goran Bostrom, Michael Gleason, Glenn Kasten,
 *   Edin Hodzic, Eric J Bivona, Kai Uwe Rommel, Danny Quah, Ulrich Betzler
 */



src/gnuwin32/graphapp/*

The files {arith, array, bitmap, buttons, context, controls, cursors,
drawing, drawtext, events, fonts, image, init, menus, objects,
strings, windows, xredef}.c, {graphapp, internal}.h are

	Copyright (C) 1993-1998 Lachlan Patrick


src/gnuwin32/psignal.[ch]

Based on files which are
	Freely redistributable and modifiable.  Use at your own risk.
	Copyright 1994-1999 The Downhill Project
	http://www.ede.com/free/u2nt


src/gnuwin32/front-ends/SC_*.h, bdx*.[ch], com_util.[ch], rproxy*.[ch]

	Copyright (C) 1999-2005 Thomas Baier

distributed under the LGPL.


R_HOME/Tcl:

Files compiled and installed from Tcl 8.4.11 and Tk 8.4.11.
see R_HOME/Tcl/license.terms for the license.

    This software is copyrighted by the Regents of the University of
    California, Sun Microsystems, Inc., and other parties. [...]
