Permalink
Browse files

branch update

git-svn-id: https://svn.r-project.org/R/trunk@3076 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information...
1 parent 90b8377 commit aa7eb80a007c7a99d7e893ada59a3c0bdd5bd294 pd committed Dec 4, 1998
Showing with 4,750 additions and 3,128 deletions.
  1. +4 −0 COPYRIGHTS
  2. +9 −15 INSTALL
  3. +1 −1 Makeconf.in
  4. +13 −19 Makefile.in
  5. +95 −9 NEWS
  6. +1 −1 PLATFORMS
  7. +333 −164 configure
  8. +43 −6 configure.in
  9. +2 −2 demos/dynload/README
  10. +15 −22 demos/dynload/zero.R
  11. +38 −34 demos/dynload/zero.c
  12. +12 −12 demos/language/recursion.R
  13. +16 −16 demos/language/scoping.R
  14. +54 −52 doc/KEYWORDS
  15. +3 −0 doc/manual/Rd.sty
  16. +12 −0 doc/manual/Rd2dvi.tex
  17. +107 −106 doc/manual/writing-Rd.tex
  18. +5 −1 etc/Makeconf.in
  19. +21 −10 etc/Rdconvlib.pl
  20. +7 −6 src/Makefile.in
  21. +8 −0 src/appl/Makefile.in
  22. +2 −0 src/appl/ROUTINES
  23. +5 −6 src/appl/bakslv.c
  24. +34 −28 src/appl/binning.c
  25. +62 −0 src/appl/rowsum.c
  26. +5 −2 src/include/Applic.h
  27. +4 −2 src/include/Makefile.in
  28. +23 −8 src/include/Mathlib.h
  29. +4 −0 src/include/Platform.h.in
  30. +2 −0 src/include/README
  31. +38 −0 src/include/Random.h
  32. +4 −3 src/include/Utils.h
  33. +1 −1 src/library/Makefile.in
  34. +22 −22 src/library/base/R/C.R
  35. +23 −0 src/library/base/R/RNG.R
  36. +575 −574 src/library/base/R/add.R
  37. +1 −1 src/library/base/R/aov.R
  38. +14 −20 src/library/base/R/apply.R
  39. +3 −2 src/library/base/R/array.R
  40. +17 −10 src/library/base/R/backsolve.R
  41. +15 −10 src/library/base/R/cut.R
  42. +49 −0 src/library/base/R/data.R
  43. +3 −2 src/library/base/R/dataframe.R
  44. +26 −24 src/library/base/R/de.R
  45. +2 −2 src/library/base/R/dotplot.R
  46. +154 −153 src/library/base/R/dummy.coef.R
  47. +7 −15 src/library/base/R/eigen.R
  48. +6 −0 src/library/base/R/glm.R
  49. +1 −1 src/library/base/R/glmnull.R
  50. +12 −7 src/library/base/R/hist.R
  51. +24 −24 src/library/base/R/kappa.R
  52. +13 −13 src/library/base/R/labels.R
  53. +29 −6 src/library/base/R/library.R
  54. +12 −0 src/library/base/R/lm.R
  55. +15 −0 src/library/base/R/lmnull.R
  56. +7 −0 src/library/base/R/mahalanobis.R
  57. +11 −7 src/library/base/R/matplot.R
  58. +32 −31 src/library/base/R/mlm.R
  59. +396 −397 src/library/base/R/model.tables.R
  60. +28 −7 src/library/base/R/models.R
  61. +170 −0 src/library/base/R/mosaicplot.R
  62. +11 −2 src/library/base/R/plot.R
  63. +2 −2 src/library/base/R/pmax.R
  64. +2 −2 src/library/base/R/pmin.R
  65. +4 −3 src/library/base/R/print.R
  66. +163 −162 src/library/base/R/proj.R
  67. +11 −10 src/library/base/R/prompt.R
  68. +31 −24 src/library/base/R/quantile.R
  69. +32 −0 src/library/base/R/rowsum.R
  70. +2 −2 src/library/base/R/scan.R
  71. +1 −8 src/library/base/R/seq.R
  72. +45 −36 src/library/base/R/source.R
  73. +2 −7 src/library/base/R/symnum.R
  74. +14 −98 src/library/base/R/system.unix.R
  75. +20 −46 src/library/base/R/system.win.R
  76. +2 −1 src/library/base/R/text.R
  77. +14 −0 src/library/base/R/time.R
  78. +31 −9 src/library/base/R/ts.R
  79. +1 −1 src/library/base/R/which.R
  80. +7 −3 src/library/base/man/Bessel.Rd
  81. +31 −3 src/library/base/man/Foreign.Rd
  82. +64 −0 src/library/base/man/Memory.Rd
  83. +117 −20 src/library/base/man/Random.Rd
  84. +6 −10 src/library/base/man/acid.Rd
  85. +34 −30 src/library/base/man/add1.Rd
  86. +17 −0 src/library/base/man/apply.Rd
  87. +15 −5 src/library/base/man/backsolve.Rd
  88. +109 −0 src/library/base/man/bug.report.Rd
  89. +5 −5 src/library/base/man/chickwts.Rd
  90. +34 −32 src/library/base/man/chisq.test.Rd
  91. +5 −4 src/library/base/man/consume.Rd
  92. +2 −1 src/library/base/man/contributors.Rd
  93. +21 −4 src/library/base/man/cut.Rd
  94. +4 −0 src/library/base/man/drop.Rd
  95. +4 −2 src/library/base/man/eigen.Rd
  96. +6 −1 src/library/base/man/help.Rd
  97. +14 −5 src/library/base/man/hist.Rd
  98. +31 −26 src/library/base/man/infert.Rd
  99. +21 −7 src/library/base/man/kappa.Rd
  100. +27 −8 src/library/base/man/library.Rd
  101. +1 −0 src/library/base/man/list.Rd
  102. +5 −1 src/library/base/man/mahalanobis.Rd
  103. +4 −4 src/library/base/man/matplot.Rd
  104. +3 −1 src/library/base/man/matrix.Rd
  105. +5 −0 src/library/base/man/median.Rd
  106. +55 −0 src/library/base/man/mosaicplot.Rd
  107. +1 −1 src/library/base/man/pictex.Rd
  108. +78 −74 src/library/base/man/prop.test.Rd
  109. +25 −2 src/library/base/man/quantile.Rd
  110. +49 −0 src/library/base/man/rowsum.Rd
  111. +27 −25 src/library/base/man/step.Rd
  112. +5 −3 src/library/base/man/system.time.Rd
  113. +45 −40 src/library/base/man/t.test.Rd
  114. +2 −1 src/library/base/man/text.Rd
  115. +8 −0 src/library/base/man/ts.Rd
  116. +2 −1 src/library/base/man/which.Rd
  117. +10 −1 src/library/base/man/xy.coords.Rd
  118. +5 −3 src/library/eda/Makefile.in
  119. +5 −4 src/library/eda/R/medpolish.R
  120. +4 −2 src/library/eda/R/zzz.R
  121. +5 −3 src/library/modreg/Makefile.in
  122. +7 −7 src/library/modreg/src/qsbart.f
  123. +12 −12 src/library/modreg/src/sbart.f
  124. +11 −11 src/library/modreg/src/sgram.f
  125. +3 −3 src/library/modreg/src/sinerp.f
  126. +9 −9 src/library/modreg/src/sslvrg.f
  127. +1 −1 src/library/modreg/src/stxwx.f
  128. +5 −3 src/library/mva/Makefile.in
  129. +4 −2 src/library/mva/R/zzz.R
  130. +3 −1 src/main/Makefile.in
  131. +1 −1 src/main/attrib.c
  132. +12 −9 src/main/bind.c
  133. +12 −5 src/main/character.c
  134. +2 −0 src/main/coerce.c
  135. +1 −1 src/main/eval.c
  136. +9 −16 src/main/graphics.c
  137. +2 −2 src/main/memory.c
  138. +4 −0 src/main/model.c
  139. +3 −2 src/main/names.c
  140. +1 −0 src/main/names.h
  141. +2 −3 src/main/plot.c
  142. +45 −15 src/main/print.c
  143. +4 −3 src/main/printarray.c
  144. +127 −103 src/main/random.c
  145. +50 −0 src/main/sort.c
  146. +1 −0 src/main/subassign.c
  147. +6 −9 src/main/subset.c
  148. +2 −1 src/main/version.c
  149. +1 −0 src/nmath/Makefile.in
  150. +7 −7 src/nmath/bessel_i.c
  151. +4 −5 src/nmath/bessel_j.c
  152. +6 −7 src/nmath/bessel_k.c
  153. +4 −5 src/nmath/bessel_y.c
  154. +1 −2 src/nmath/dsignrank.c
  155. +2 −3 src/nmath/dwilcox.c
  156. +1 −2 src/nmath/lgamma.c
  157. +6 −7 src/nmath/pnchisq.c
  158. +37 −60 src/nmath/polygamma.c
  159. +1 −2 src/nmath/psignrank.c
  160. +2 −3 src/nmath/pwilcox.c
  161. +1 −2 src/nmath/qsignrank.c
  162. +2 −3 src/nmath/qwilcox.c
  163. +1 −2 src/nmath/rhyper.c
  164. +172 −12 src/nmath/sunif.c
  165. +13 −4 src/scripts/COMPILE.in
  166. +10 −4 src/scripts/INSTALL.in
  167. +13 −11 src/scripts/Rd2dvi
  168. +2 −3 src/scripts/Rdconv.in
  169. +10 −15 src/scripts/SHLIB.in
  170. +10 −7 src/scripts/build-help.in
  171. +12 −8 src/scripts/check
  172. +1 −1 src/scripts/massage-Examples
  173. +5 −6 src/unix/dataentry.c
  174. +87 −86 src/unix/dynload.c
  175. +5 −6 tests/Examples/Makefile.in
  176. +7 −5 tests/Makefile.in
  177. +1 −1 tests/Rdiff
  178. +4 −4 tests/d-p-q-r-tests.R
  179. +24 −23 tests/d-p-q-r-tests.Rout.save
  180. +1 −1 tests/simple-tests.R
  181. +1 −1 tests/simple-tests.Rout.save
  182. +0 −1 tests/simple-true.R
  183. +1 −1 tests/simple-true.Rout.save
View
@@ -16,6 +16,10 @@ afm/*
Copyright (c) 1984 Adobe Systems Incorporated.
+src/library/base/R/mosaicplot.R
+
+ Copyright (C) 1998 John W. Emerson
+
src/library/base/R/aov.R
src/library/base/R/biplot.R
src/library/base/R/contr.poly.R
View
24 INSTALL
@@ -72,7 +72,7 @@ This will install to the following directories:
$prefix/bin (some) executables
$prefix/man/man1 man pages
- $prefix/lib/R all the rest (libraries, online help
+ $prefix/share/R all the rest (libraries, online help
system, ...)
where prefix is determined during configuration (typically /usr/local)
@@ -93,6 +93,14 @@ and so on, as described further above. This has the advantage of always
keeping your source tree `clean'.
+USING MAKE
+
+To compile R, you currently most likely need GNU make. (To be more
+precise, you need a version of make which accepts shell wildcards in
+dependencies.) On Solaris 2.6 in particular, you need a version of
+GNU make different from 3.77 (the current one); 3.76.1 works fine.
+
+
USING FORTRAN
To compile R, you need a FORTRAN compiler or f2c, the FORTRAN-to-C
@@ -105,20 +113,6 @@ compiler is in a non-standard location, you should set the enviroment
vaiable PATH accordingly before running configure.
-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
View
@@ -50,4 +50,4 @@ datadir = @datadir@
libdir = @libdir@
mandir = @mandir@
-rhome = @datadir@/R
+rhome = @libdir@/R
View
@@ -26,19 +26,13 @@ Makefile:
cd $(top_builddir) \
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
-R: stamp-R
-stamp-R: $(top_builddir)/src/include/Platform.h \
- $(top_srcdir)/src/*/*.[chfy] \
- $(top_srcdir)/src/library/*/R/*.R \
- $(top_srcdir)/src/library/*/src/*.[chf]
- @rm -f $@
+R:
@for d in afm demos doc etc src; do \
- (cd $$d && $(MAKE) R); \
+ (cd $${d} && $(MAKE) R) || exit 1; \
done
@if [ ! -f src/library/stamp-docs ]; then \
echo "You should \`make docs' now ..."; \
fi
- @touch $@
$(top_builddir)/src/include/Platform.h: $(srcdir)/date-stamp
$(top_srcdir)/configure --srcdir $(top_srcdir)
@@ -49,26 +43,26 @@ FORCE:
install: all installdirs
@for d in afm demos doc etc; do \
- (cd $$d && $(MAKE) $@); \
+ (cd $${d} && $(MAKE) $@) || exit 1; \
done
@(cd $(srcdir); \
for f in COPYING COPYRIGHTS MIRROR-SITES RESOURCES; do \
- $(INSTALL_DATA) $$f $(rhome); \
+ $(INSTALL_DATA) $${f} $(rhome); \
done)
@echo "Installing executables ..."
@$(INSTALL_PROGRAM) bin/R.binary $(rhome)/bin
@cat bin/R | sed "s@RHOME=.*@RHOME=$(rhome)@" > $(rhome)/bin/R
@cat bin/R | sed "s@RHOME=.*@RHOME=$(rhome)@" > $(bindir)/R
@chmod 755 $(bindir)/R $(rhome)/bin
@for f in `ls bin/* | grep -v '^R\|R.binary'`; do \
- $(INSTALL) $$f $(rhome)/bin; \
+ $(INSTALL) $${f} $(rhome)/bin; \
done
@for f in Rd2txt Rdconv Rdindex Sd2Rd; do \
- $(INSTALL) bin/$$f $(bindir); \
+ $(INSTALL) bin/$${f} $(bindir); \
done
@echo "Installing headers ..."
@for f in include/*.h; do \
- $(INSTALL_DATA) $$f $(rhome)/include; \
+ $(INSTALL_DATA) $${f} $(rhome)/include; \
done
@echo "Installing library ..."
@cd library; $(TAR) cf - [a-z]* | (cd $(rhome)/library; tar xf -)
@@ -86,7 +80,7 @@ install-strip:
uninstall:
@echo "Uninstalling library ..."
@(cd $(rhome)/library; \
- for p in base eda modreg mva stepfun; do rm -rf $$p; done)
+ for p in base eda modreg mva stepfun; do rm -rf $${p}; done)
@echo " Rebuilding help index ..."
@(cd $(rhome)/library; cat */TITLE > LibIndex 2> /dev/null)
@echo " Rebuilding HTML index ..."
@@ -96,21 +90,21 @@ uninstall:
@echo "Uninstalling executables ..."
@rm -rf $(rhome)/bin
@for f in R Rd2txt Rdconv Rdindex Sd2Rd; do \
- rm -f $(bindir)/$$f; \
+ rm -f $(bindir)/$${f}; \
done
@for f in COPYING COPYRIGHTS MIRROR-SITES RESOURCES; do \
- rm -f $(rhome)/$$f; \
+ rm -f $(rhome)/$${f}; \
done
@for d in afm demos doc etc; do \
- (cd $$d && $(MAKE) $@); \
+ (cd $${d} && $(MAKE) $@); \
done
mostlyclean: clean
clean:
@for d in $(SUBDIRS); do \
- (cd $$d && $(MAKE) $@); \
+ (cd $${d} && $(MAKE) $@); \
done
- @rm -f stamp-R
+
distclean: clean
@for d in $(SUBDIRS); do \
(cd $${d} && $(MAKE) $@); \
View
104 NEWS
@@ -1,3 +1,89 @@
+ CHANGES IN R VERSION 0.63.1
+
+NEW FEATURES
+
+ o new function mosaicplot().
+
+ o xy.coords(.) has a "recycle = FALSE" argument, used in text().
+
+ o RNGtype() allows to choose different Random Number Generators.
+ __EXPERIMENTAL__
+
+ o print.default(.) now also works with a `right = TRUE' argument.
+ {{ print.matrix(.) is bound to become deprecated... }}
+
+ o new help page `Memory' on the usage of command line options
+ --vsize and --nsize. Error message if R runs out of memory
+ points to help(Memory).
+
+ o rowsum() and improved na.omit() added from survival4
+
+ o backsolve(.) has new arguments "upper.tri = TRUE, transpose = FALSE"
+
+ o hist() has new "right = TRUE" argument;
+ "right = FALSE" gives [a,b) intervals
+
+ o help() has "htmlhelp" argument, allowing to suppress htmlhelp after
+ help.start(). This is desired for ESS.
+
+ o quantile(.) has an "names = TRUE" argument for speed.
+ It is much better documented now.
+
+
+BUG FIXES
+
+ o build-help --dosnames should now also work for text help,
+ latex and examples.
+
+ o seq() should work better now (fuzz-factor 1e-7 inserted)
+
+ o multiple arguments to return caused value to be a pairlist
+
+ o data.frame choked on long names from deparse()
+
+ o data.edit now works (dataedit doesn't need pairlist()s anymore)
+
+ o as.pairlist(NULL) is ok
+
+ o ts(1:5, start=2, end=4) now work. Further plot(ts(..), ts(..))
+
+ o eigen() returns $vectors in any case [S compat].
+
+ o apply(cbind(1,1:9, 2, quantile) doesn't drop quantile names anymore
+
+ o array(1, dim=(1:3)[c(F,F,F)]) is now valid == array(1,NULL) == c(1);
+ the same for array(a,d, list())
+
+ o fix problem with step() and offsets
+
+ o drop attributes on matrix subsetting
+
+ o kappa(.) now works [dtrco now in load table (ROUTINES)].
+
+ o pmin() and pmax() now preserve attributes.
+
+ o handle null models arising in drop1(), step, etc.
+
+ o partial matching problem with $ indexing
+
+ o matplot(.) works with lwd (vectors)
+
+ o par("cex.axis") now has the desired effect...
+
+ o which(.) now omits NAs in its argument.
+
+ o rbind.data.frame caused character-to-factor coercion a bit too often
+
+ o couple of messups in dotplot
+
+ o z[[1]] <- ~x probl fixed as suggested by J.Lindsey
+
+ o do_modelframe could lose contrast attributes
+
+ o "make check" needed standardisation of locale
+
+ o unlist(...,recursive=F) got names wrong
+
CHANGES IN R VERSION 0.63
NEW FEATURES
@@ -8,7 +94,7 @@ NEW FEATURES
o new .Platform variable for better modularizing
platform dependence. __This_is_"beta"_and_bound_to_be_changed___
- o new arguments to colnames(..) and
+ o new arguments to colnames(..) and
rownames(x, do.NULL = TRUE, prefix = "row").
_
o par(bty = "]") for _| box(.) in plots.
@@ -111,12 +197,12 @@ NEW FEATURES
and is subject to internal and interface changes.
o gctorture() for torturing the garbage collector to reveal
- memory protection bugs. (Call GC on every memory allocation).
+ memory protection bugs. (Call GC on every memory allocation).
- o B. Ripley's aov code (and more) has been added. This includes:
+ o B. Ripley's aov code (and more) has been added. This includes:
- aov() now handles models with Error terms, multiple
- responses.
+ responses.
- proj(), model.tables(), se.contrast(), replications(),
eff.aovlist() are implemented for aov fits, and where
@@ -129,20 +215,20 @@ NEW FEATURES
- summary() and deviance() -- mlm methods.
- - kappa() for estimating condition numbers)
+ - kappa() for estimating condition numbers)
- labels() to find a suitable set of labels from an object
- C() for setting the contrasts of a factor
- anova(), plot(), summary() and deviance() methods for mlm fits
- o eval() semantics changed when envir= is a list. A 3rd argument is
+ o eval() semantics changed when envir= is a list. A 3rd argument is
now allowed, specifying the enclosure (i.e. where R looks for
- variables *not* found in envir=) it defaults to the calling
+ variables *not* found in envir=) it defaults to the calling
environment (was .GlobalEnv). Note that when used inside a function,
- it is often desirable to set the enclosure to the parent
- environment instead. [ eval(e, data, sys.frame(sys.parent())) ]
+ it is often desirable to set the enclosure to the parent
+ environment instead. [ eval(e, data, sys.frame(sys.parent())) ]
BUG FIXES
View
@@ -17,7 +17,7 @@ our installation procedures.
sparc-sun-solaris2.5.1 gcc / g77
" gcc / f77
" cc / f77
-
+ sparc-sun-solaris2.6 gcc / f77
OLD (pre 0.62 systems)
Oops, something went wrong.

0 comments on commit aa7eb80

Please sign in to comment.