Permalink
Browse files

adding v0.61.0

  • Loading branch information...
1 parent dd6d3bb commit 7c1392004b2401dc54dd61a2b53b6b095c140cf9 @SurajGupta committed Apr 6, 2012
Showing with 1,260 additions and 910 deletions.
  1. +37 −0 CHANGES
  2. +19 −22 INSTALL
  3. +47 −0 Makefile
  4. +0 −39 Makefile.in
  5. +5 −5 README
  6. +0 −1 VERSION_DATE
  7. +12 −13 configure
  8. +9 −8 configure.in
  9. +1 −2 demos/graphics/{graphics → graphics.R}
  10. +0 −2 demos/graphics/{image → image.R}
  11. +110 −0 demos/language/is-things.R
  12. 0 demos/language/{recursion → recursion.R}
  13. 0 demos/language/{scoping → scoping.R}
  14. 0 demos/models/{glm-v+r → glm-v+r.R}
  15. +0 −129 demos/models/lm+glm
  16. +138 −0 demos/models/lm+glm.R
  17. 0 demos/nlm/{valley → valley.R}
  18. +6 −9 etc/INSTALL.in
  19. +9 −5 etc/Makefile
  20. +3 −2 etc/Rdconvlib.pl
  21. +3 −8 etc/buildlib.pl
  22. +0 −13 include/S.h
  23. +0 −228 include/f2c.h
  24. +2 −1 src/Makefile
  25. +1 −1 src/appl.c/dqrdc2.c
  26. +3 −3 src/graphics/graphics.c
  27. +6 −2 src/include/Defn.h
  28. +15 −0 src/include/Makefile
  29. +3 −1 src/include/Platform.h.in
  30. +4 −2 src/include/Print.h
  31. +79 −0 src/include/S.h
  32. +38 −0 src/include/S_compat.h
  33. +1 −0 src/library/Makefile
  34. +3 −3 src/library/base/R/allnames
  35. +3 −0 src/library/base/R/barplot
  36. +9 −9 src/library/base/R/cut
  37. +23 −2 src/library/base/R/format
  38. +2 −3 src/library/base/R/gl
  39. +38 −60 src/library/base/R/glm
  40. +7 −8 src/library/base/R/lm
  41. +65 −68 src/library/base/R/models
  42. +9 −8 src/library/base/R/source
  43. +80 −0 src/library/base/R/symnum
  44. +5 −0 src/library/base/man/barplot.Rd
  45. +6 −4 src/library/base/man/call.Rd
  46. +5 −0 src/library/base/man/eigen.Rd
  47. +5 −8 src/library/base/man/expression.Rd
  48. +22 −8 src/library/base/man/fft.Rd
  49. +19 −9 src/library/base/man/format.Rd
  50. +6 −6 src/library/base/man/formatc.Rd
  51. +6 −3 src/library/base/man/gl.Rd
  52. +16 −15 src/library/base/man/legend.Rd
  53. +14 −12 src/library/base/man/library.Rd
  54. +2 −2 src/library/base/man/lm.Rd
  55. +1 −1 src/library/base/man/lsfit.Rd
  56. +20 −6 src/library/base/man/model.matrix.Rd
  57. +9 −5 src/library/base/man/name.Rd
  58. +53 −0 src/library/base/man/noquote.Rd
  59. +67 −0 src/library/base/man/symnum.Rd
  60. +5 −4 src/library/base/man/{update.model.Rd → update.formula.Rd}
  61. +41 −0 src/library/base/man/update.lm.Rd
  62. +19 −20 src/library/mva/man/dist.Rd
  63. +1 −1 src/main/attrib.c
  64. +9 −9 src/main/builtin.c
  65. +9 −10 src/main/character.c
  66. +15 −15 src/main/format.c
  67. +3 −0 src/main/main.c
  68. +1 −0 src/main/memory.c
  69. +31 −22 src/main/model.c
  70. +3 −0 src/main/names.c
  71. +13 −10 src/main/paste.c
  72. +4 −2 src/main/plot.c
  73. +6 −1 src/main/plot3d.c
  74. +5 −5 src/main/print.c
  75. +6 −6 src/main/printarray.c
  76. +29 −55 src/main/printutils.c
  77. +14 −14 src/main/printvector.c
View
37 CHANGES
@@ -1,4 +1,40 @@
+ CHANGES IN VERSION R VERSION 0.61
+
+We try to make development more flexible by creating a "CVS branch". This
+should make it easier to produce patches for obvious bugs in the releases,
+without having to wait for changes in other areas to stabilize.
+
+NEW FEATURES
+
+ o New functions "all.vars" and "all.names" added.
+
+ o There has been a small change in the include file structure.
+ All include files now live in RHOME/src/include and are
+ copied to RHOME/include when needed.
+
+ o The "noquote" functions are now documented.
+
+ o A new `language' demo, "is.things", is provided.
+
+ o symnum(.) function
+
+ o The files in R/library/base/data have had a .R suffix added.
+
+BUG_FIXES
+
+ o A nasty bug which showed when attempt was made to create
+ a zero length call has been fixed.
+
+ o model.matrix(.) now allows a contrasts argument.
+
+ o barplot(.) now also works for barplot(table(rpois(100,3))).
+
+ o make clean ; make now should work; ./Makefile.in eliminated
+
+ o format(.) is now generic; the default method has a `digits' argument.
+
+
CHANGES IN VERSION R VERSION 0.60.1
NEW FEATURES
@@ -9,6 +45,7 @@ NEW FEATURES
o S compatible functions "all.names" and "all.vars" added.
+
BUG FIXES
o A file was closed multiple times if an error message occured
View
41 INSTALL
@@ -12,36 +12,33 @@ platforms. See below for details.
SIMPLE INSTALLATION
-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 place RHOME. Untar the source code. This should create
-directories src, etc, cmd, help and doc. Issue the following
-commands:
+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
+place RHOME. Untar the source code. This should create directories
+src, etc, cmd, help and doc. Issue the following commands:
./configure
make
- make help
-You can also build a LaTeX version of the manual entries with
+If these commands execute successfully, the R binary will be copied to
+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'.
- make latex
-
-and an HTML version of the manual with
-
- make html
-
-These are not fully supported yet.
-
-To build help pages and LaTeX and HTML versions of the manual in one
-step, do
+Using
make docs
-If these commands execute successfully, the R binary will be copied
-to 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 the script to a place where users can invoke it:
-/usr/local/bin/R for example.
+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.
Now type R and reach for your S manuals ...
View
@@ -0,0 +1,47 @@
+####---- 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
+ -./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 $@
+
+moreclean: clean acclean
+ @echo "More Cleaning ./etc/"; cd etc; make $@
+
+acclean:
+ @echo cleaning configure files
+ @rm -f config.cache config.log config.status
+
+distclean: realclean
+
+realclean: acclean
+ @echo cleaning at top level
+ @-rm -f bin/R*
+ @-rm -rf `echo library/* | sed 's@library/CVS *@@'`
+ @-rm -f doc/manual/pkg-*
+ @cd demos/dynload; make $@
+ @echo "Realcleaning ./etc"; cd etc; make $@
+ @echo "Realcleaning the source tree"; cd src; make $@
View
@@ -1,39 +0,0 @@
-install:
- @echo Building/Installing R
- cd src; make install
-
-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: acclean
- @echo "Cleaning at top level"
- @cd demos/dynload; make clean
- @echo "Cleaning ./etc/"; cd etc; make clean
- @echo "Cleaning the source tree"; cd src; make clean
-
-acclean:
- @echo cleaning configure files
- @rm -f config.cache config.log config.status
-
-realclean: distclean
-
-distclean: acclean
- @echo cleaning at top level
- @rm -f Makefile
- @-rm -f bin/R*
- @-rm -rf `echo library/* | sed 's@library/CVS *@@'`
- @-rm -f doc/manual/pkg-*
- @cd demos/dynload; make realclean
- @echo "Realcleaning ./etc"; cd etc; make realclean
- @echo "Realcleaning the source tree"; cd src; make realclean
View
10 README
@@ -25,15 +25,15 @@ this list.
R was initially written by Robert Gentleman and Ross Ihaka of the
Statistics Department of the University of Auckland. In addition,
-a large group of individuals has contibuted to R by contributing
-code and bug reports.
+a large group of individuals has contributed to R by sending code
+and bug reports.
Since mid-1997 there has been a core group who can modify the R
source code CVS archive. The group currently consists of
- Peter Dalgaard, Robert Gentleman, Kurt Hornik
- Ross Ihaka, Thomas Lumley, Martin Maechler,
- Paul Murrell, Heiner Schwarte and Luke Tierney.
+ Peter Dalgaard, Robert Gentleman, Kurt Hornik, Ross Ihaka,
+ Friedrich Leisch, Thomas Lumley, Martin Maechler,
+ Paul Murrell, Heiner Schwarte, and Luke Tierney.
As noted above, discussions of the development process take
place in the r-devel mailing list.
View
@@ -1 +0,0 @@
-Sun Dec 7 15:38:38 NZDT 1997
View
@@ -563,7 +563,7 @@ cat >> confdefs.h <<\EOF
EOF
cat >> confdefs.h <<\EOF
-#define R_MINOR "60.1"
+#define R_MINOR "61.0"
EOF
cat >> confdefs.h <<\EOF
@@ -575,7 +575,7 @@ cat >> confdefs.h <<\EOF
EOF
cat >> confdefs.h <<\EOF
-#define R_DAY "6"
+#define R_DAY "21"
EOF
cat >> confdefs.h <<\EOF
@@ -2444,7 +2444,7 @@ EOF
fi
-for ac_hdr in fcntl.h limits.h dlfcn.h dl.h elf.h time.h sys/times.h rpc/xdr.h readline/history.h
+for ac_hdr in fcntl.h limits.h dlfcn.h dl.h elf.h time.h sys/times.h rpc/xdr.h readline/history.h locale.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
@@ -3289,7 +3289,7 @@ fi
# Damn! It seems that this can lead to using the wrong options
# if the CC we have differs from that which imake knows about.
# Lets always use -fpic when CC=gcc.
-#
+#
# As a final safeguard, any options specified in config.site will
# override anything we discover below.
@@ -3330,13 +3330,14 @@ if test -n "$XMKMF"
then
echo $ac_n "checking how to make shared libraries""... $ac_c" 1>&6
echo "configure:3333: checking how to make shared libraries" >&5
- rm -f Makefile
+ mv Makefile Makefile-SAFE
echo > Imakefile
xmkmf > /dev/null
PICFLAGS=`grep '^ *PICFLAGS' Makefile | sed 's/^ *PICFLAGS *= *//'`
SHLIBLDFLAGS=`grep 'SHLIBLDFLAGS' Makefile | sed 's/ *SHLIBLDFLAGS *= *//'`
DLLFLAGS=
rm Imakefile Makefile
+ mv Makefile-SAFE Makefile
echo "$ac_t""done" 1>&6
else
PICFLAGS=
@@ -3392,7 +3393,7 @@ EOF
LDCMD=gcc
LIBS="-lf2c $LIBS"
;;
-
+
*linux)
LDCMD=gcc
LIBS="-lf2c $LIBS"
@@ -3421,7 +3422,7 @@ EOF
SHLIBLDFLAGS="-G"
;;
-esac
+esac
for i in `ls src/appl.c|grep '.c$'` `ls src/appl.f|grep '\.f'`
do
@@ -3438,7 +3439,7 @@ fi
# Extract the first word of "perl", so it can be a program name with args.
set dummy perl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3442: checking for $ac_word" >&5
+echo "configure:3443: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3470,7 +3471,7 @@ fi
if test -n "$PERL"
then
echo $ac_n "checking whether perl is perl 5""... $ac_c" 1>&6
-echo "configure:3474: checking whether perl is perl 5" >&5
+echo "configure:3475: checking whether perl is perl 5" >&5
PERL_VERSION_NUMBER=`perl -v | sed -n 's/^.*perl.*version \(.\).*/\1/p'`
if test $PERL_VERSION_NUMBER -ge 5
then
@@ -3596,8 +3597,7 @@ done
ac_given_srcdir=$srcdir
-trap 'rm -fr `echo "Makefile
-src/main/Makefile
+trap 'rm -fr `echo "src/main/Makefile
src/graphics/Makefile
src/math/Makefile
src/appl/Makefile
@@ -3715,8 +3715,7 @@ EOF
cat >> $CONFIG_STATUS <<EOF
-CONFIG_FILES=\${CONFIG_FILES-"Makefile
-src/main/Makefile
+CONFIG_FILES=\${CONFIG_FILES-"src/main/Makefile
src/graphics/Makefile
src/math/Makefile
src/appl/Makefile
View
@@ -21,10 +21,10 @@ host_vendor=$2
host_os=$3
AC_DEFINE(R_MAJOR, "0")
-AC_DEFINE(R_MINOR, "60.1")
+AC_DEFINE(R_MINOR, "61.0")
AC_DEFINE(R_STATUS, "Alpha")
AC_DEFINE(R_STATUS_REV, "0")
-AC_DEFINE(R_DAY, "6")
+AC_DEFINE(R_DAY, "21")
AC_DEFINE(R_MONTH, "December")
AC_DEFINE(R_YEAR, "1997")
AC_DEFINE_UNQUOTED(R_PLATFORM, "${host}")
@@ -173,7 +173,7 @@ fi
# HEADER FILES
AC_HEADER_STDC
-AC_CHECK_HEADERS(fcntl.h limits.h dlfcn.h dl.h elf.h time.h sys/times.h rpc/xdr.h readline/history.h)
+AC_CHECK_HEADERS(fcntl.h limits.h dlfcn.h dl.h elf.h time.h sys/times.h rpc/xdr.h readline/history.h locale.h)
# TYPEDEFS, STRUCTURES, AND COMPILER CHARACTERISTICS
@@ -250,7 +250,7 @@ AC_SUBST(FFLAGS)
# Damn! It seems that this can lead to using the wrong options
# if the CC we have differs from that which imake knows about.
# Lets always use -fpic when CC=gcc.
-#
+#
# As a final safeguard, any options specified in config.site will
# override anything we discover below.
@@ -263,13 +263,14 @@ AC_CHECK_PROG(XMKMF,xmkmf,xmkmf)
if test -n "$XMKMF"
then
AC_MSG_CHECKING(how to make shared libraries)
- rm -f Makefile
+ mv Makefile Makefile-SAFE
echo > Imakefile
xmkmf > /dev/null
PICFLAGS=`grep '^ *PICFLAGS' Makefile | sed 's/^ *PICFLAGS *= *//'`
SHLIBLDFLAGS=`grep 'SHLIBLDFLAGS' Makefile | sed 's/ *SHLIBLDFLAGS *= *//'`
DLLFLAGS=
rm Imakefile Makefile
+ mv Makefile-SAFE Makefile
AC_MSG_RESULT(done)
else
PICFLAGS=
@@ -322,7 +323,7 @@ alpha*osf*)
LDCMD=gcc
LIBS="-lf2c $LIBS"
;;
-
+
*linux)
LDCMD=gcc
LIBS="-lf2c $LIBS"
@@ -348,7 +349,7 @@ alpha*osf*)
SHLIBLDFLAGS="-G"
;;
-esac
+esac
for i in `ls src/appl.c|grep '.c$'` `ls src/appl.f|grep '\.f'`
do
@@ -392,7 +393,7 @@ AC_SUBST(FPICFLAGS)
AC_SUBST(PERL)
AC_SUBST(NO_PERL5)
-AC_OUTPUT(Makefile
+AC_OUTPUT(
src/main/Makefile
src/graphics/Makefile
src/math/Makefile
Oops, something went wrong.

0 comments on commit 7c13920

Please sign in to comment.