Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

branch update

git-svn-id: https://svn.r-project.org/R/trunk@12256 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information...
commit 78fb5496afcb4543b631b67d9b57d4d728f081eb 1 parent 6650b73
pd authored
Showing with 9,687 additions and 3,736 deletions.
  1. +4 −1 FAQ
  2. +27 −9 INSTALL
  3. +14 −10 Makefile.in
  4. +253 −42 NEWS
  5. +19 −17 README
  6. +65 −50 RESOURCES
  7. +11 −11 acinclude.m4
  8. +11 −11 aclocal.m4
  9. +593 −468 configure
  10. +19 −14 configure.in
  11. +1 −1  debian/changelog
  12. +2 −2 debian/rules
  13. +15 −5 demos/language/is-things.R
  14. +2 −2 demos/models/lm+glm.R
  15. +24 −23 demos/tcltk/tkcanvas.R
  16. +11 −6 doc/Makefile.in
  17. +13 −2 doc/html/Makefile.in
  18. +9 −10 doc/html/about.html
  19. +3 −1 doc/html/faq.html
  20. +1 −1  doc/html/index-default.html
  21. +20 −18 doc/html/resource.html
  22. +141 −0 doc/html/resources.html
  23. +1 −1  doc/html/thanks.html
  24. +25 −7 doc/manual/Makefile.in
  25. +5 −12 doc/manual/Makefile.win
  26. +3 −1 doc/manual/R-FAQ.texi
  27. +109 −32 doc/manual/R-data.texi
  28. +54 −22 doc/manual/R-exts.texi
  29. +42 −26 doc/manual/R-intro.texi
  30. +243 −101 doc/manual/R-lang.texi
  31. +2 −1  doc/manual/Rd.sty
  32. +181 −0 doc/manual/resources.texi
  33. +2 −0  etc/Makeconf.in
  34. +3 −0  etc/Renviron.in
  35. +2 −1  share/perl/R/Rd.pm
  36. +49 −20 share/perl/R/Rdconv.pm
  37. +17 −0 share/perl/R/Utils.pm
  38. +11 −3 src/appl/dsvdc.f
  39. +45 −0 src/gnuwin32/CHANGES
  40. +7 −5 src/gnuwin32/INSTALL
  41. +7 −5 src/gnuwin32/INSTALL.in
  42. +4 −1 src/gnuwin32/MakeDll
  43. +1 −1  src/gnuwin32/MakePkg
  44. +5 −3 src/gnuwin32/Makefile
  45. +3 −3 src/gnuwin32/Makefile.packages
  46. +15 −1 src/gnuwin32/check/Maketests
  47. +12 −5 src/gnuwin32/console.c
  48. +1 −0  src/gnuwin32/dataentry.c
  49. +39 −23 src/gnuwin32/devga.c
  50. +1 −0  src/gnuwin32/exported-vars
  51. +5 −5 src/gnuwin32/extra.c
  52. +4 −1 src/gnuwin32/fixed/Makefile
  53. +5 −4 src/gnuwin32/fixed/bin/INSTALL
  54. +6 −0 src/gnuwin32/fixed/h/config.h
  55. +90 −31 src/gnuwin32/fixed/r/rw-FAQ.html
  56. +1 −1  src/gnuwin32/fixed/r/rwin.html
  57. +1 −1  src/gnuwin32/front-ends/rcmd.c
  58. +14 −12 src/gnuwin32/help/Makefile
  59. +2 −2 src/gnuwin32/help/build.help
  60. +8 −8 src/gnuwin32/installer/rwinst.c
  61. +7 −1 src/gnuwin32/malloc.c
  62. +1 −1  src/gnuwin32/pager.c
  63. +1 −1  src/gnuwin32/preferences.c
  64. +22 −12 src/gnuwin32/readme.packages
  65. +253 −49 src/gnuwin32/run.c
  66. +7 −7 src/gnuwin32/run.h
  67. +64 −17 src/gnuwin32/rw-FAQ.texi
  68. +67 −19 src/gnuwin32/rw-faq
  69. +2 −2 src/gnuwin32/sys-win32.c
  70. +8 −1 src/gnuwin32/system.c
  71. +2 −4 src/include/Defn.h
  72. +3 −2 src/include/Internal.h
  73. +1 −1  src/include/R_ext/Utils.h
  74. +4 −0 src/include/Rconnections.h
  75. +6 −0 src/include/config.h.in
  76. +1 −0  src/library/base/DESCRIPTION.in
  77. +31 −20 src/library/base/R/New-Internal.R
  78. +15 −9 src/library/base/R/all.equal.R
  79. +8 −8 src/library/base/R/barplot.R
  80. +67 −29 src/library/base/R/boxplot.R
  81. +11 −5 src/library/base/R/codoc.R
  82. +23 −0 src/library/base/R/connections.R
  83. +5 −3 src/library/base/R/dataframe.R
  84. +35 −26 src/library/base/R/datetime.R
  85. +2 −1  src/library/base/R/device.R
  86. +2 −1  src/library/base/R/edit.R
  87. +17 −5 src/library/base/R/family.R
  88. +3 −1 src/library/base/R/files.R
  89. +20 −11 src/library/base/R/fourfoldplot.R
  90. +12 −5 src/library/base/R/glm.R
  91. +36 −23 src/library/base/R/kronecker.R
  92. +65 −64 src/library/base/R/library.R
  93. +1 −1  src/library/base/R/manova.R
  94. +7 −4 src/library/base/R/match.R
  95. +4 −4 src/library/base/R/mean.R
  96. +7 −6 src/library/base/R/merge.R
  97. +3 −2 src/library/base/R/notyet.R
  98. +5 −5 src/library/base/R/paste.R
  99. +11 −14 src/library/base/R/persp.R
  100. +3 −3 src/library/base/R/polygon.R
  101. +1 −1  src/library/base/R/print.R
  102. +23 −10 src/library/base/R/prompt.R
  103. +5 −3 src/library/base/R/sort.R
  104. +80 −84 src/library/base/R/stars.R
  105. +1 −1  src/library/base/R/table.R
  106. +25 −25 src/library/base/R/ts.R
  107. +19 −8 src/library/base/R/unix/undoc.R
  108. +1 −0  src/library/base/R/windows/help.R
  109. +2 −0  src/library/base/R/windows/system.gnw.r
  110. +19 −8 src/library/base/R/windows/undoc.R
  111. +6 −5 src/library/base/man/Chisquare.Rd
  112. +12 −3 src/library/base/man/DateTimeClasses.Rd
  113. +22 −5 src/library/base/man/FDist.Rd
  114. +12 −1 src/library/base/man/Memory.Rd
  115. +6 −0 src/library/base/man/PkgUtils.Rd
  116. +39 −13 src/library/base/man/Startup.Rd
  117. +10 −5 src/library/base/man/as.POSIXlt.Rd
  118. +3 −1 src/library/base/man/axis.Rd
  119. +15 −7 src/library/base/man/boxplot.Rd
  120. +4 −1 src/library/base/man/bxp.Rd
  121. +8 −0 src/library/base/man/connections.Rd
  122. +2 −1  src/library/base/man/data.frame.Rd
  123. +1 −1  src/library/base/man/dev2.Rd
  124. +1 −1  src/library/base/man/dotplot.Rd
  125. +6 −5 src/library/base/man/duplicated.Rd
  126. +24 −20 src/library/base/man/edit.Rd
  127. +35 −29 src/library/base/man/file.show.Rd
  128. +84 −10 src/library/base/man/glm.Rd
  129. +9 −1 src/library/base/man/interaction.plot.Rd
  130. +65 −36 src/library/base/man/kronecker.Rd
  131. +33 −9 src/library/base/man/lm.Rd
  132. +3 −0  src/library/base/man/lowess.Rd
  133. +17 −11 src/library/base/man/match.Rd
  134. +2 −0  src/library/base/man/mean.Rd
  135. +3 −3 src/library/base/man/merge.Rd
  136. +11 −9 src/library/base/man/notyet.Rd
  137. +3 −0  src/library/base/man/options.Rd
  138. +6 −4 src/library/base/man/order.Rd
  139. +4 −0 src/library/base/man/pairs.Rd
  140. +2 −2 src/library/base/man/pairs.formula.Rd
  141. +20 −11 src/library/base/man/panel.smooth.Rd
  142. +48 −33 src/library/base/man/par.Rd
  143. +6 −0 src/library/base/man/parse.Rd
  144. +6 −7 src/library/base/man/persp.Rd
  145. +11 −9 src/library/base/man/plotdefault.Rd
  146. +3 −2 src/library/base/man/plotmath.Rd
  147. +2 −1  src/library/base/man/pos.to.env.Rd
  148. +3 −2 src/library/base/man/print.matrix.Rd
  149. +4 −4 src/library/base/man/rank.Rd
  150. +90 −0 src/library/base/man/readBin.Rd
  151. +16 −12 src/library/base/man/segments.Rd
  152. +4 −4 src/library/base/man/sink.Rd
  153. +11 −9 src/library/base/man/sort.Rd
  154. +6 −0 src/library/base/man/source.Rd
  155. +19 −11 src/library/base/man/stars.Rd
  156. +14 −11 src/library/base/man/state.Rd
  157. +10 −3 src/library/base/man/strptime.Rd
  158. +2 −1  src/library/base/man/swiss.Rd
  159. +13 −7 src/library/base/man/symbols.Rd
  160. +8 −7 src/library/base/man/sys.parent.Rd
  161. +15 −1 src/library/base/man/table.Rd
  162. +12 −8 src/library/base/man/unique.Rd
  163. +3 −0  src/library/base/man/unix/BATCH.Rd
  164. +2 −2 src/library/base/man/unix/SHLIB.Rd
  165. +1 −0  src/library/base/man/unix/gnome.Rd
  166. +36 −14 src/library/base/man/unlist.Rd
  167. +1 −1  src/library/base/man/update.packages.Rd
  168. +2 −2 src/library/base/man/vector.Rd
  169. +13 −14 src/library/base/man/weighted.mean.Rd
  170. +2 −0  src/library/base/man/windows/BATCH.Rd
  171. +7 −2 src/library/base/man/windows/memory.size.Rd
  172. +20 −8 src/library/base/man/windows/windows.Rd
  173. +3 −1 src/library/base/man/xtabs.Rd
  174. +1 −0  src/library/ctest/DESCRIPTION.in
  175. +5 −2 src/library/ctest/src/Makefile.in
  176. +1 −0  src/library/eda/DESCRIPTION.in
  177. +0 −4 src/library/eda/src/Makefile.in
  178. +1 −0  src/library/lqs/DESCRIPTION.in
  179. +0 −4 src/library/lqs/src/Makefile.in
  180. +1 −0  src/library/modreg/DESCRIPTION.in
  181. +4 −1 src/library/modreg/man/loess.Rd
  182. +5 −3 src/library/modreg/src/Makefile.in
  183. +1 −0  src/library/mva/DESCRIPTION.in
  184. +7 −0 src/library/mva/INDEX
  185. +282 −0 src/library/mva/R/factanal.R
  186. +7 −7 src/library/mva/R/identify.hclust.R
  187. +5 −5 src/library/mva/R/prcomp.R
  188. +2 −2 src/library/mva/R/princomp.R
  189. +20 −0 src/library/mva/man/Harman23.cor.Rd
  190. +23 −0 src/library/mva/man/Harman74.cor.Rd
  191. +29 −0 src/library/mva/man/ability.cov.Rd
  192. +194 −0 src/library/mva/man/factanal.Rd
  193. +58 −0 src/library/mva/man/varimax.Rd
  194. +5 −2 src/library/mva/src/Makefile.in
  195. +3 −2 src/library/nls/DESCRIPTION.in
  196. +2 −2 src/library/nls/R/nls.R
  197. +9 −9 src/library/nls/R/selfStart.R
  198. +2 −2 src/library/nls/man/NLSstAsymptotic.Rd
  199. +11 −2 src/library/nls/man/nls.Rd
  200. +3 −2 src/library/nls/man/profiler.nls.Rd
  201. +0 −4 src/library/nls/src/Makefile.in
  202. +181 −174 src/library/nls/src/nls.c
  203. +2 −1  src/library/splines/DESCRIPTION.in
  204. +0 −4 src/library/splines/src/Makefile.in
  205. +1 −0  src/library/stepfun/DESCRIPTION.in
  206. +1 −0  src/library/tcltk/DESCRIPTION.in
  207. +0 −4 src/library/tcltk/src/Makefile.in
  208. +1 −0  src/library/ts/DESCRIPTION.in
  209. +9 −9 src/library/ts/R/diffinv.R
  210. +1 −1  src/library/ts/R/stl.R
  211. +33 −60 src/library/ts/man/acf.Rd
  212. +7 −5 src/library/ts/man/ar.Rd
  213. +3 −1 src/library/ts/man/ar.ols.Rd
  214. +17 −8 src/library/ts/man/diffinv.Rd
  215. +8 −2 src/library/ts/man/kernapply.Rd
  216. +44 −0 src/library/ts/man/plot.acf.Rd
  217. +58 −0 src/library/ts/man/plot.spec.Rd
  218. +18 −49 src/library/ts/man/spectrum.Rd
  219. +6 −4 src/library/ts/man/ts.union.Rd
  220. +5 −2 src/library/ts/src/Makefile.in
  221. +1 −1  src/main/Makefile.in
  222. +3 −2 src/main/RNG.c
  223. +19 −16 src/main/character.c
  224. +4 −4 src/main/coerce.c
  225. +468 −66 src/main/connections.c
  226. +47 −11 src/main/datetime.c
  227. +1 −1  src/main/g_alab_her.c
  228. +34 −25 src/main/gram.c
  229. +34 −25 src/main/gram.y
  230. +67 −53 src/main/graphics.c
  231. +2 −2 src/main/iosupport.c
  232. +31 −25 src/main/main.c
  233. +5 −2 src/main/names.c
  234. +3 −1 src/main/par.c
  235. +7 −2 src/main/platform.c
  236. +13 −11 src/main/plot.c
  237. +26 −25 src/main/plot3d.c
  238. +33 −15 src/main/print.c
  239. +11 −9 src/main/saveload.c
  240. +25 −19 src/main/scan.c
  241. +48 −10 src/main/util.c
  242. +4 −0 src/nmath/bessel_i.c
  243. +170 −220 src/nmath/bessel_j.c
  244. +7 −1 src/nmath/bessel_k.c
  245. +4 −0 src/nmath/bessel_y.c
  246. +34 −17 src/nmath/dnchisq.c
  247. +4 −2 src/scripts/INSTALL.in
  248. +2 −2 src/scripts/Makefile.in
  249. +10 −3 src/scripts/R.sh.in
  250. +2 −1  src/scripts/REMOVE.in
  251. +13 −1 src/scripts/Rcmd
  252. +13 −19 src/scripts/Rdindex.in
  253. +16 −13 src/scripts/SHLIB.in
  254. +474 −125 src/scripts/Sd2Rd.in
  255. +23 −10 src/scripts/build.in
  256. +43 −35 src/scripts/check.in
  257. +53 −0 src/scripts/maketitle.awk
  258. +1 −1  src/unix/X11/dataentry.c
  259. +1 −0  src/unix/gnome/system.c
  260. +16 −3 src/unix/sys-common.c
  261. +32 −20 src/unix/sys-std.c
  262. +2 −2 src/unix/sys-unix.c
  263. +1 −1  tests/Examples/Makefile.in
  264. +23 −12 tests/Makefile.in
  265. +38 −8 tests/README
  266. +2 −0  tests/arith-true.R
  267. +6 −3 tests/arith-true.Rout.save
  268. +1 −0  tests/gct-foot.R
  269. +642 −369 tests/isas-tests.Rout.save
  270. +94 −82 tests/p-r-random-tests.R
  271. +121 −108 tests/p-r-random-tests.Rout.save
  272. +57 −0 tests/reg-IO.R
  273. +156 −0 tests/reg-IO.Rout.save
  274. +68 −0 tests/reg-plot.R
  275. +129 −0 tests/reg-plot.Rout.save
  276. +43 −7 tests/reg-tests-1.R
  277. +59 −0 tests/reg-tests-2.R
  278. +108 −0 tests/reg-tests-2.Rout.save
  279. +8 −1 tests/simple-true.R
  280. +32 −7 tests/simple-true.Rout.save
  281. +7 −25 tools/Makefile.in
  282. +27 −0 tools/Rdnewer.pl
  283. +27 −10 tools/config.guess
  284. +12 −6 tools/config.sub
  285. +511 −0 tools/help2man.pl
  286. +359 −0 tools/install-info.pl
  287. +112 −0 tools/pkg2tex.pl
View
5 FAQ
@@ -1,6 +1,6 @@
R FAQ
Frequently Asked Questions on R
-Version 1.2-17, 2001-01-12
+Version 1.2-18, 2001-01-13
Kurt Hornik
@@ -1418,6 +1418,9 @@ these a try, of course. This area of CRAN currently contains
Extensions to *dse*, the Dynamic Systems Estimation multivariate time
series package. Contains PADI, juice and monitoring extensions.
+*ensemble*
+ Ensembles of tree classifiers.
+
*funfits*
An integrated set of functions for fitting curves and surfaces
including thin plate splines, kriging and neural networks.
View
36 INSTALL
@@ -35,7 +35,10 @@ destination with
cat R-x.y.z.tgz-split.* > R-x.y.z.tgz
-and proceed as above.
+and proceed as above. If you want the build to be usable by a group
+of users, set umask before unpacking so that the files will be
+readable by the target group (e.g. umask 022 to be usable by all
+users).
Finally, for minor-minor releases (x.y.z with z != 0), a patch against
the preceding release is made available in `R-x.y.{z-1}-x.y.z.diff.gz'
@@ -61,6 +64,13 @@ src, doc, and several more. Issue the following commands:
(See USING MAKE below if your make is not called `make'.)
+Then check the built system worked correctly, by
+
+ make check
+
+Failures are not necessarily problems as they might be caused by missing
+functionality, but you should look carefully at any reported discrepancies.
+
If these commands execute successfully, the R binary will be copied to
the `${R_HOME}/bin' directory. In addition, a shell script front-end
called "R" will be created and copied to the same directory. You can
@@ -127,9 +137,11 @@ MAKING THE MANUALS
There is a set of manuals that can be built from the sources,
refman Printed versions of all the help pages.
+ R-FAQ R FAQ (which is already built for you).
R-intro ``An Introduction to R''.
+ R-data ``R Data Import/Export''.
R-exts ``Writing R Extensions''.
- R-FAQ R FAQ (which is already built for you).
+ R-lang ``The R Language Definition''.
To make these, cd to the `doc/manual' directory and use
@@ -153,6 +165,7 @@ After
./configure
make
+ make check
have been completed successfully, you can install the complete R tree
to your system by typing
@@ -178,18 +191,25 @@ install into another directory by using
make prefix=/path/to/here install
-To install DVI, info and PDF versions of the manuals, use `make
-install-dvi', `make install-info' and `make install-pdf', respectively.
+To install DVI, info and PDF versions of the manuals, use one or more of
+
+ make install-dvi
+ make install-info
+ make install-pdf
+
+To ensure that the installed tree is usable by the right group of
+users, set umask appropriately (perhaps to 022) before unpacking the
+sources and throughout the build process.
USING MAKE
To compile R, you will most likely find it easiest to use GNU make. On
-Solaris 2.6/7 in particular, you need a version of GNU make different
+Solaris 2.6/7/8 in particular, you need a version of GNU make different
from 3.77; 3.79 works fine, as does the Sun make.
To build in a separate directory you need a make that uses the VPATH
-variable, for example GNU make, or Sun make on Solaris 2.7 (but not
+variable, for example GNU make, or Sun make on Solaris 2.7/8 (but not
earlier).
If you want to use a make by another name, for example if your GNU make
@@ -258,9 +278,7 @@ from the GNOME ftp site (ftp.gnome.org and mirrors). RPMs are in RedHat
6.1 and later.
libglade needs libxml 1.4 or later, the source for which is available
-from the GNOME ftp site (ftp.gnome.org and mirrors). RPMs of libxml-1.4
-and libxml-devel-1.4 are available from updates.redhat.com and mirrors,
-or ftp.gurulabs.com/pub/gnome/updates.
+from the GNOME ftp site (ftp.gnome.org and mirrors).
COMPILE AND LOAD FLAGS
View
24 Makefile.in
@@ -10,14 +10,17 @@ top_builddir = .
include $(top_builddir)/Makeconf
distdir = $(PACKAGE)-$(VERSION)
-INSTFILES = AUTHORS COPYING COPYRIGHTS FAQ MIRROR-SITES NEWS \
- RESOURCES THANKS
+INSTFILES = AUTHORS COPYING COPYRIGHTS FAQ NEWS RESOURCES THANKS
DISTFILES = $(INSTFILES) \
BUGS ChangeLog INSTALL ONEWS README VERSION Y2K \
Makeconf.in Makefile.in \
acconfig.h acinclude.m4 aclocal.m4 \
config.site configure configure.in \
date-stamp
+## FIXME:
+## Update when releasing 1.3.0
+CLEANFILES = $(INSTFILES) MIRROR-SITES
+## </FIXME>
SUBDIRS = src afm demos doc etc share tests tools
GZIP = --best
@@ -74,8 +77,10 @@ install: installdirs
## Automake.
@echo "installing executables ..."
@$(INSTALL_PROGRAM) bin/R.bin $(rhome)/bin
- @sed "s@R_HOME=.*@R_HOME=$(rhome)\}@" < bin/R > $(rhome)/bin/R
- @sed "s@R_HOME=.*@R_HOME=$(rhome)\}@" < bin/R > $(bindir)/R
+ @sed "s@R_HOME_DIR=.*@R_HOME_DIR=$(rhome)@" < bin/R \
+ > $(rhome)/bin/R
+ @sed "s@R_HOME_DIR=.*@R_HOME_DIR=$(rhome)@" < bin/R \
+ > $(bindir)/R
@chmod 755 $(bindir)/R $(rhome)/bin/R
@for f in `find bin -type f -print \
| grep -v '^bin/R$$' \
@@ -133,17 +138,13 @@ uninstall:
@echo " rebuilding help index ..."
@(cd $(rhome)/library; \
cat */TITLE > LibIndex 2> /dev/null || echo "" > LibIndex)
- @echo " rebuilding HTML index ..."
- @if test -x $(rhome)/bin/R -a -f $(rhome)/bin/build-help; then \
- $(rhome)/bin/R CMD build-help --rhome $(rhome) --htmllists; \
- fi
@echo "uninstalling headers ..."
@rm -rf $(rhome)/include
@echo "uninstalling executables ..."
@rm -rf $(rhome)/bin
@rm -rf $(rhome)/gnome
@rm -f $(bindir)/R
- @for f in $(INSTFILES); do \
+ @for f in $(CLEANFILES); do \
rm -f $(rhome)/$${f}; \
done
@for d in afm demos doc etc share; do \
@@ -156,7 +157,7 @@ clean:
(cd $${d} && $(MAKE) $@); \
done
@if [ "$(srcdir)" != "." ]; then \
- rm -f $(INSTFILES); \
+ rm -f $(CLEANFILES); \
fi
distclean: clean
@for d in $(SUBDIRS); do \
@@ -165,9 +166,12 @@ distclean: clean
@rm -rf bin include library gnome
@rm -f Makeconf Makefile Makefile.bak Makefrag.* \
config.cache config.log config.status libtool
+## FIXME:
+## This should really do something!
maintainer-clean: distclean
@echo "This command is intended for maintainers to use; it"
@echo "deletes files that may need special rules to rebuild"
+## </FIXME>
dist: dist-unix
dist-unix: distdir
View
295 NEWS
@@ -13,18 +13,229 @@ NEW FEATURES
BUG FIXES
- o postscript() and xfig() devices now make use of genuine Adobe
+ o postscript() and xfig() devices now make use of genuine Adobe
afm files, and warn if characters are used that are not in the
encoding in use.
-
**************************************************
* *
* 1.2 SERIES NEWS *
* *
**************************************************
+ CHANGES IN R VERSION 1.2.1
+
+NEW FEATURES
+
+ o New functions factanal(), varimax(), promax() and examples in
+ package mva.
+
+ o New functions readBin() and writeBin() to transfer binary data
+ to and from connections.
+
+ o merge() is partially moved to C to reduce its memory usage.
+
+ o library(help = PKG) now displays the contents of the package's
+ DESCRIPTION file in addition to its INDEX.
+
+ o Sd2Rd can handle S4-style documentation too: see `Writing R
+ Extensions'.
+
+ o prompt() now also works with a character argument (useful for
+ producing many *.Rd files in a loop).
+
+ o The Unix front-end shell script now ignores a value for R_HOME
+ found in the environment.
+
+ o Connections functions such as file() now accept a description of
+ length > 1, with a warning.
+
+ o All text-mode connections now accept input with LF, CR or CRLF
+ line endings. This means that readLines() can be used on DOS
+ files and source() on Mac files, for example.
+
+ Also, CRLF-terminated files can be used as stdin on Unix, and
+ files with last lines without an EOL mark can be used as stdin
+ and source()-ed on Unix and Windows.
+
+ o DESCRIPTION file has a new recommended `Maintainer:' field.
+
+ o stars() now uses a larger "cex" for the labels, and cex and lwd
+ are now arguments. Further, the argument names (xlim, ylim,
+ axes) are now consistent with other plot functions. The key symbol
+ is not clipped anymore into the plot region by default.
+
+ o Date-time quantities are now printed with the timezone, if known.
+
+ o R CMD build now ignores all files specified (via Perl regexps)
+ in file `.Rbuildignore' in the top-level source directory of a
+ package.
+
+ o Horizontal boxplots are possible with horizontal = TRUE.
+
+ o all.equal() on lists now compares them as generic vectors, that
+ is they are equal if have identical names attributes and
+ all components are equal.
+
+ o Invalid lines in .Renviron now give warnings when R is started.
+
+ o Argument `na.last' implemented for rank().
+
+
+BUG FIXES
+
+ o There have been many small improvements/corrections in the
+ documentation. In particular:
+
+ The help pages for lm and glm now describe the fitted objects.
+
+ is.vector() is now correctly documented: complex vectors and
+ lists return TRUE.
+
+ o The default sortedXyData constructor in the nls package now
+ handles missing values in the response.
+
+ o On startup, file .RData is now restored *after* the site and
+ user profiles are loaded (if at all). This is as previously
+ documented.
+
+ o as.POSIXlt (and *ct) operating on a character string
+ only extracted the date (and not the time) in some cases.
+
+ o as.POSIXct() on character objects was ignoring `tz'.
+
+ o codoc(ignore.generic.functions = TRUE) works again.
+
+ o Explicitly close files opened by sink() for OSes (such as
+ Windows) that benefit from it.
+
+ o Prevent closing the sink connection (which would be a silly
+ thing to do).
+
+ o showConnections(all = TRUE) was sometimes counting connections
+ incorrectly, and so not showing some closed ones.
+
+ o ts(1:10, start= c(1999,6), end = c(2000,3), frequency = 12)
+ now prints both years (as it should).
+
+ o Monthly multivariate time series now print proper month names
+ in all cases.
+
+ o print.stl(), print.princomp() and print.prcomp() now pass on
+ `digits =' etc.
+
+ o prompt() now produces a \usage{} line for data frames and
+ other datasets, as documented in `Writing R Extensions'.
+
+ o glm() now returns correct linear predictor and fitted values
+ for zero-weight cases.
+
+ o scan(strip.white=TRUE) and readline() could give incorrect
+ answers when an input field was empty or blank.
+
+ o dchisq() now behaves better for large values of its ncp parameter.
+
+ o besselJ(*, nu) is now ok for nu < 1; fix improves accuracy of
+ other values by a few bits as well.
+
+ o The convergence criterion in the Fortran SVD code has been
+ changed to circumvent spurious convergence errors when
+ comparing extended-precision quantities on ix86 Linux (and
+ some compilers and options).
+
+ o Rdindex now handles multi-line \title{}'s correctly.
+
+ o Add weights.glm() so that plot.lm() gets the correct weights from
+ glm objects (the ones that go with deviance residuals not the
+ working residuals).
+
+ o Printing a language object (e.g. a formula) in a list was
+ clobbering the buffer holding the tag labels which then were
+ lost in subsequent lines of printout (PR#746).
+
+ o aic in family() objects is now computed more precisely using
+ dxxxx(log=TRUE). For binomial fits the value was wrong for
+ models specified via proportions and weights (PR#796).
+
+ Avoid NaN values in aic where n = 0 occurs.
+
+ o Using non-integer numbers of successes in a binomial glm (as
+ formerly in demo(lm.glm)) now gives a warning, as the theory and
+ in particular the AIC value is not applicable.
+
+ o demo(is.things) works again {is.ALL() doesn't call methods
+ anymore}.
+
+ o persp(*, nticks = nn) now works (better) for too small nn.
+ persp(*, main = t1, sub= t2) now work (as always documented).
+
+ o Printing of attributes of a list element no longer precedes
+ `attr' by the tag (PR#715).
+
+ o It is no longer possible to use df[foo] to select non-existent
+ columns in df and so create an invalid object of class
+ "data.frame" (PR#698).
+
+ o edit.data.frame() was trying to set row.names on a list, which
+ is no longer allowed.
+
+ o In the \link[pkg]{topic}, `pkg' was not being used if `topic'
+ was found in a package in .lib.loc. Now `pkg' is always used.
+
+ o plot() with small relative ranges gave an error, which e.g. broke
+ library(ts); plot(stl(ts(rep(1:7, 15), freq = 7), s.win = "per"))
+
+ o Using scan() with a 0-length `what' argument now gives an error
+ message rather than a segfault.
+
+ o Loading .Random.seed could extremely rarely and with some
+ generators reject a value as NA_INTEGER when it was valid.
+
+ o save(..., ascii=TRUE) created broken files when saving strings
+ containing special characters (ASCII code > 127).
+
+ o mean(c(1,NA,NA,NA)[-1], trim = .1, na.rm = TRUE) doesn't give an
+ error anymore.
+
+ o As the supplied afm files are not properly in the ISOLatin1
+ encoding, the font metric for "-" was wrong since 0.63 on a
+ postscript/xfig device, and randomly wrong in 1.2.0. It will
+ now be correct (but the files remain incorrect: C45 is "minus"
+ not "hyphen" and there are missing slots).
+
+ Metrics for the duplicated characters (acute, dieresis,
+ macron, space) in ISOLatin1 encoding are now correct for both
+ occurrences: previously only one was present.
+
+ o The data-time functions try harder to guess the DST setting
+ when the OS does not know, as some OSes were printing times
+ in DST if this was marked as unknown.
+
+ o Setting par(pty=) after par(pin=) or par(plt=) was having no
+ effect until the margins were set.
+
+ o Nested \describe sections in .Rd files have (again) nested
+ indentation when converted to text.
+
+ o Concatenation of C strings by ## is no longer used, to avoid
+ spurious warnings from some recent versions of gcc.
+
+ o dev.copy2eps() allows a `paper' argument to be passed to
+ postscript().
+
+ o file.show() handles the case of zero files better.
+
+ o formula.lm uses object$formula if it exists, in preference
+ to object$terms.
+
+ o strsplit() is corrected for an empty split pattern.
+
+ o kronecker() now does a better job when creating dimnames.
+
+ o Better handling of input dimnames in fourfoldplot().
+
+
CHANGES IN R VERSION 1.2.0
@@ -73,7 +284,7 @@ NEW FEATURES
calling anovalist.lm() directly.
o anova() for multiple lm and glm objects no longer truncates the
- formula printed. There is much more extensive documentation
+ formula printed. There is much more extensive documentation
for anova() methods.
o New method as.data.frame.table() for converting the array-based
@@ -119,7 +330,7 @@ NEW FEATURES
o New convenience function file.copy().
o file.show() allows `pager' argument to be an R function, and
- consequently, the `pager' option can be an R function.
+ consequently, the `pager' option can be an R function.
o Formatting (and printing) of data.frames with complex objects is
improved. toString was added as a new function.
@@ -166,9 +377,9 @@ NEW FEATURES
with savehistory() and displayed with history(), under Windows
and under Unix using the readline or GNOME interfaces.
- o mad() has new (logical) arguments "low" and "high" (the first
+ o mad() has new (logical) arguments "low" and "high" (the first
giving S compatibility).
-
+
o New function manova() and summary method.
o Function mantelhaen.test() in package ctest now can deal with
@@ -188,7 +399,7 @@ NEW FEATURES
o nlm(check.analyticals = TRUE) now warns if the supplied
gradient and/or hessian are of the wrong length.
-
+
o New function object.size() to give approximate memory allocation.
o optim() now checks the length of an analytical gradient at
@@ -217,11 +428,11 @@ NEW FEATURES
o plot.hclust() allows arguments main, sub, etc, and has non-empty
defaults for these.
- o plot.ts(x,y) now allows to suppress labels and lines;
+ o plot.ts(x,y) now allows to suppress labels and lines;
it is better documented.
o The postscript() driver now allows a user-specified family so,
- for example, one can use the same fonts in diagrams as in
+ for example, one can use the same fonts in diagrams as in
running text.
o The postscript() driver allows its prolog to be changed (by an
@@ -238,8 +449,8 @@ NEW FEATURES
o New readLines() function to read a file line-by-line.
o New functions reshapeLong() and reshapeWide() emulating Stata's
- reshape command. These are still labeled experimental and
- might be improved (or removed) in later versions.
+ reshape command. These are still labeled experimental and
+ might be improved (or removed) in later versions.
o row.names() and row.names<-() are now generic functions which
call rownames() as their default method and have methods for
@@ -264,12 +475,12 @@ NEW FEATURES
o smooth() in package eda has a better default (3RS3R instead of
3RSR) and more arguments, e.g. `twiceit' for some S
- compatibility and kind = "3R" for running medians of 3.
+ compatibility and `kind = "3R"' for running medians of 3.
o strsplit() has a new argument `extended' controlling whether to
use extended (the default) or basic regular expressions for
splitting.
-
+
o Sys.getenv() becomes the preferred name for getenv(), which is
now deprecated.
@@ -291,26 +502,26 @@ NEW FEATURES
`date' and `chron'; unlike those packages these support
functions know about time zones (if the OS does).
- o tcltk library now has tkpager() which is designed to be used
+ o tcltk package now has tkpager() which is designed to be used
by file.show() and shows help pages etc. in separate text
- widgets.
+ widgets.
o tcltk is now more careful about removing the objects
representing widgets in the R workspace when the windows are
- destroyed (e.g. using window manager controls)
+ destroyed (e.g. using window manager controls)
+
+ o tcltk package has had several canvas functions implemented.
- o tcltk library has had several canvas functions implemented.
-
o tcltk now wraps callbacks to R in a try() construct - the
nonlocal return from R's error handling could bring the Tk
- system into a strange state.
+ system into a strange state.
- o New demos for tcltk: tkfaq, tkfilefind, tkcanvas.
+ o New demos for tcltk: tkfaq, tkfilefind, tkcanvas.
o termplot() now has an `ask' argument.
o terms() creates objects which now inherit from class "formula",
- so for example as.formula(terms.object) needs to replaced by
+ so for example as.formula(terms.object) needs to be replaced by
formula(terms.object).
o traceback() is now printed un-quoted and labelled by the
@@ -338,8 +549,8 @@ NEW FEATURES
o The R Language Manual (`R-lang.texi') is now included and built
in the same way as the other manuals.
- o The R manuals (R-intro, R-exts, ...) are converted to HTML
- format (if the necessary texinfo tools are available) and
+ o The R manuals (R-intro, R-exts, ...) are converted to HTML
+ format (if the necessary texinfo tools are available) and
linked into the top HTML help page.
o The header file `R.h' and those included from it are now usable
@@ -397,7 +608,7 @@ NEW FEATURES
under Unix. Use configure with option `--enable-R-shlib' or do
`make libR' in directory `src/main' to create the shared
library.
-
+
There is also a linker front-end `R CMD LINK' which is useful
for creating executable programs linked against the R shared
library.
@@ -428,7 +639,7 @@ BUG FIXES
now all use the more accurate algorithms of dbinom() and dpois();
More limits are computed correctly, e.g. dgeom(Inf,*), or
dnbinom(*,*,p=0), and integer argument coercion is more consistent.
-
+
o dbeta(x, a,b) was giving NaN and Inf for large a and b.
o The math functions now (again!) return NaN (not NA)
@@ -452,9 +663,9 @@ BUG FIXES
o glm() now follows lm() in dropping unused factor levels when fitting.
- o hist() now labels y-axis Density rather than Relative Frequency
- if freq=FALSE. The `intensities' component of the result is
- now deprecated and `density' should be used instead.
+ o hist() now labels y-axis Density rather than Relative Frequency
+ if freq=FALSE. The `intensities' component of the result is
+ now deprecated and `density' should be used instead.
o hsv() truncation bug fixed (hopefully correctly this time...)
@@ -486,16 +697,16 @@ BUG FIXES
o pairs() now obeys an "cex = " argument, and so does panel.smooth().
- o pf() had a bug in the code handling large noncentrality
- parameters, going all the way back to the original Appl.Stat.
+ o pf() had a bug in the code handling large noncentrality
+ parameters, going all the way back to the original Appl.Stat.
algorithm (PR#752). This affected pbeta() as well.
o phantom(expr) in plotmath was used to calculate the bounding
- boxes, but the space was not actually used in typesetting the
+ boxes, but the space was not actually used in typesetting the
expression (PR#622).
- o Problem with subsetting and "..." arguments in plot.formula()
- (PR#757)
+ o Problem with subsetting and "..." arguments in plot.formula()
+ (PR#757)
o plot.lm() has a better default for its `ask' argument.
@@ -562,7 +773,7 @@ BUG FIXES
when there are repeated x points.
o stars() fix (for 0/NA columns) PR#739.
-
+
o data(state)'s state.abb has been corrected to use official
2-letter abbrevations.
@@ -609,7 +820,7 @@ BUG FIXES
o R CMD Rd2dvi now again works with file names containing "_" or "$".
o R CMD Rdconv now handles .rd as input file extension correctly
- in all cases.
+ in all cases.
o make install could fail if there were no shared libraries to
install (e.g. on vanilla Solaris).
@@ -622,8 +833,8 @@ BUG FIXES
o NA || x , NA && y (etc) do not give errors anymore, but work as
the "|" and "&" operators and as documented (PR#749).
- o Coercing lists to functions failed if argument list was empty.
- (PR#743). Also coercing functions to lists was wrong when the
+ o Coercing lists to functions failed if argument list was empty.
+ (PR#743). Also coercing functions to lists was wrong when the
body was a single constant.
@@ -699,10 +910,10 @@ BUG FIXES
These functions no longer add and subtract n zeros when there's no
offset. They are now documented somewhat.
- o Some HTML files used src="R.css" instead of href="R.css"
- causing some browsers to ignore the style sheet. R.css now
- passes the w3c CSS validator and gives the intended results
- with Internet Explorer. R.css is copied to all library directories.
+ o Some HTML files used src="R.css" instead of href="R.css" causing
+ some browsers to ignore the style sheet. `R.css' now passes the
+ w3c CSS validator and gives the intended results with Internet
+ Explorer. `R.css' is copied to all library directories.
o The data editor no longer crashes when entries contain more than
45 characters, and works correctly if the field width is
@@ -1087,7 +1298,7 @@ BUG FIXES
o Warnings from .Last or closing devices are printed where
sensible (e.g. not on GNOME nor Windows console).
- o add1.glm() and drop1.glm gave() incorrect results in the "Chisq"
+ o add1.glm() and drop1.glm() gave incorrect results in the "Chisq"
test option when the scale was estimated.
o aggregate() applied to multiple time series lost the series names.
View
36 README
@@ -57,28 +57,30 @@ applications. In addition, we have implemented a large part of the
functionality from the 1992 book "Statistical Models in S" (the "White
Book").
-All the R functions have been documented in the form of help pages in an
-"output independent" form which can be used to create versions for HTML,
-LaTeX, text etc. A 700+ page Reference Index (a collection of all the
-help pages) can be obtained in a variety of formats. The document "An
-Introduction to R" provides a more user-friendly starting point. See
-INSTALL for instructions on how to generate these documents.
+All the R functions have been documented in the form of help pages in
+an "output independent" form which can be used to create versions for
+HTML, LaTeX, text etc. A 800+ page Reference Index (a collection of
+all the help pages) can be obtained in a variety of formats. The
+manual `An Introduction to R' provides a more user-friendly starting
+point, and there is an `R Language Definition' manual and more
+specialized manuals on data import/export and extending R. See INSTALL
+for instructions on how to generate these documents.
4. GOALS
Our aim at the start of this project was to demonstrate that it was
-possible to produce an S-like environment which did not suffer from the
-memory-demands and performance problems which S has. Somewhat later, we
-started to turn R into a "real" system, but unfortunately we seem to
-have lost a large part of the efficiency advantage in the process, so
-one of our short-term goals is to revise the memory management mechanism
-and look for other candidates for optimization.
-
-Longer-term goals include to explore new ideas: e.g. virtual objects and
-component-based programming, and expanding the scope of existing ones
-like formula-based interfaces. Further, we wish to get a handle on a
-general approach to graphical user interfaces (preferably with
+possible to produce an S-like environment which did not suffer from
+the memory-demands and performance problems which S has. Somewhat
+later, we started to turn R into a "real" system, but unfortunately we
+lost a large part of the efficiency advantage in the process, so have
+recently revised the memory management mechanism and are looking for
+other candidates for optimization.
+
+Longer-term goals include to explore new ideas: e.g. virtual objects
+and component-based programming, and expanding the scope of existing
+ones like formula-based interfaces. Further, we wish to get a handle
+on a general approach to graphical user interfaces (preferably with
cross-platform portability), and to develop better 3-D and dynamic
graphics.
View
115 RESOURCES
@@ -1,80 +1,95 @@
- AVAILABLE R RESOURCES
+ AVAILABLE R RESOURCES
-1. FAQ
-A collection of Frequently Asked Questions and their answers is
-maintained by Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at> and can be
-found at the URL
+1 FAQ
+*****
- http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
+A collection of Frequently Asked Questions and their answers is maintained
+by Kurt Hornik <Kurt.Hornik@r-project.org> and can be found at the URL
-A text version is in file FAQ in this directory, and an HTML version
-is available as file doc/html/faq.html and via the on-line help (on
-the index page given by help.start()).
+ `http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html'
+A text version is in file `FAQ' in this directory, and an HTML version is
+available as file `doc/html/faq.html' and via the on-line help (on the
+index page given by `help.start()').
-2. MAILING LISTS
+2 Mailing lists
+***************
-Thanks to Martin Maechler there are number of mailing lists which
-are used by R users and developers. They are
+Thanks to Martin Maechler <Martin.Maechler@r-project.org> there are number
+of mailing lists which are used by R users and developers. They are
- r-announce@lists.r-project.org announcements of new R releases
- or applications,
+ `r-announce@lists.r-project.org'
+ announcements of new R releases or applications;
- r-help@lists.r-project.org general inquiries and discussion
- about R.
+ `r-help@lists.r-project.org'
+ general inquiries and discussion about R;
- r-devel@lists.r-project.org discussions about the future of R
- and pre-testing of new versions
+ `r-devel@lists.r-project.org'
+ discussions about the future of R and pre-testing of new versions.
+To subscribe (or unsubscribe) to these mailing lists send `subscribe' (or
+`unsubscribe') in the _body_ of the message (not in the subject!) to
-To subscribe (or unsubscribe) to these mailing list send
-
- subscribe (or unsubscribe)
-
-(in the "body", not the subject !) to:
-
- r-announce-request@lists.r-project.org
- r-help-request@lists.r-project.org
- r-devel-request@lists.r-project.org
+ `r-announce-request@lists.r-project.org'
+ `r-help-request@lists.r-project.org'
+ `r-devel-request@lists.r-project.org'
Archives of the mailing lists are made available monthly; see the
-doc/mail/mail.html file on any CRAN node. An HTML archive is
-available via http://www.ens.gu.edu.au/robertk/R/.
+`doc/mail/mail.html' file on any CRAN node. An HTML archive is available
+via `http://www.ens.gu.edu.au/robertk/R/'.
+3 Archives
+**********
+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.
-3. ARCHIVES
+CRAN also contains a _daily_ snapshots of the latest R sources.
-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.
+The CRAN master site at TU Wien, Austria, can be found at the URLs
-The CRAN master site can be found at the URLs
+ `http://cran.r-project.org/'
+ `ftp://cran.r-project.org/pub/R/'
- http://cran.r-project.org/
-or ftp://cran.r-project.org/pub/R/ (Austria)
+and is also available for anonymous rsync at `cran.r-project.org::CRAN'.
-and mirrored at many sites: see the list in the file MIRROR-SITES or
-on-line at
+It is currently mirrored daily at
- http://cran.r-project.org/mirrors.html
+ `http://cran.at.r-project.org/' TU Wien, Austria
+ `http://cran.ch.r-project.org/' ETH Zu"rich, Switzerland
+ `http://cran.dk.r-project.org/' SunSITE, Denmark
+ `http://cran.hu.r-project.org/' Semmelweis University,
+ Hungary
+ `http://cran.uk.r-project.org/' University of Bristol, UK
+ `http://cran.us.r-project.org/' University of Wisconsin, USA
+ `http://mirror.aarnet.edu.au/CRAN/' University of Queensland,
+ Australia
+ `ftp://ftp.u-aizu.ac.jp/pub/lang/R/CRAN/'
+ University of Aizu, Japan
+ `ftp://dola.snu.ac.kr/pub/R/CRAN/' Seoul, South Korea
+ `http://lib.stat.cmu.edu/R/CRAN/' Statlib, Carnegie Mellon
+ University, USA
+Many of these sites can also be accessed using FTP. In the interests of
+preserving international bandwidth please use a site near you if possible.
-
-4. BUG-TRACKING SYSTEM
+4 Bug-tracking system
+*********************
R has a bug-tracking system (or perhaps a bug-filing system is a more
-precise description) available on the net at
+precise description) available on the net at
+
+ `http://bugs.r-project.org/'
- http://bugs.r-project.org
+and via e-mail to <r-bugs@r-project.org>. The R function `bug.report()'
+can be used to invoke an editor from a within an R session and send the
+report to the right address. It also fills in some basic information, such
+as your R version and operating system, which has proved helpful in the
+debugging process.
-and via e-mail to r-bugs@r-project.org. The R function bug.report()
-can be used to invoke an editor from a within an R session and send
-the report to the right address. It also fills in some basic
-information, such as your R version and operating system, which has
-proved helpful in the debugging process.
+The source distribution has a file `BUGS' at the top level giving a summary
+of the entries at the time this distribution was prepared.
-The source distribution has a file BUGS at the top level giving a
-summary of the entries at the time this distribution was prepared.
View
22 acinclude.m4
@@ -166,7 +166,7 @@ AC_DEFUN([R_PROG_TEXMF],
MAKEINFO=false
fi
if test "${PERL}" != false; then
- INSTALL_INFO="\$(top_builddir)/tools/install-info"
+ INSTALL_INFO="\$(PERL) \$(top_srcdir)/tools/install-info.pl"
AC_SUBST(INSTALL_INFO)
else
AC_PATH_PROGS(INSTALL_INFO, [${INSTALL_INFO} install-info], false)
@@ -390,10 +390,7 @@ EOF
## See whether Fortran and C compilers agree on int and double
##
AC_DEFUN([R_PROG_F77_CC_COMPAT],
- [## FIXME:
- ## This should be in a separate macro, a la libtool AC_CHECK_LIBM
- AC_CHECK_LIB(m, sin, LIBM="-lm", LIBM=)
- ## </FIXME>
+ [AC_REQUIRE([AC_CHECK_LIBM])
AC_MSG_CHECKING([whether ${F77-f77} and ${CC-cc} agree on int and double])
AC_CACHE_VAL(r_cv_prog_f77_cc_compat,
[ cat > conftestf.f <<EOF
@@ -492,10 +489,7 @@ EOF
##
AC_DEFUN([R_PROG_F2C_FLIBS],
[AC_REQUIRE([AC_PROG_RANLIB])
- ## FIXME:
- ## This should be in a separate macro, a la libtool AC_CHECK_LIBM
- AC_CHECK_LIB(m, sin, LIBM="-lm", LIBM=)
- ## </FIXME>
+ AC_REQUIRE([AC_CHECK_LIBM])
AC_CACHE_VAL(r_cv_f2c_flibs,
[## This seems to be necessary on some Linux system. -- you bet! -pd
cat > conftest.${ac_ext} << EOF
@@ -523,6 +517,8 @@ EOF
if test -z "${FLIBS}"; then
warn_f2c_flibs="I found f2c but not libf2c, or libF77 and libI77"
AC_MSG_WARN(${warn_f2c_flibs})
+ else
+ FLIBS="${FLIBS} ${LIBM}"
fi])
##
## R_FUNC___SETFPUCW
@@ -828,11 +824,13 @@ if test -z "${TCLTK_CPPFLAGS}"; then
fi
fi
if test "${found_tcl_h}" = no; then
+ AC_MSG_CHECKING([for tcl.h])
AC_EGREP_CPP(yes, [
#include <tcl.h>
#if (TCL_MAJOR_VERSION >= 8)
yes
-#endif], , have_tcltk=no)
+#endif], found_tcl_h=yes, have_tcltk=no)
+ AC_MSG_RESULT([${found_tcl_h}])
fi
unset found_tcl_h
fi
@@ -860,11 +858,13 @@ if test -z "${TCLTK_CPPFLAGS}"; then
CPPFLAGS="${save_CPPFLAGS}"
fi
if test "${found_tk_h}" = no; then
+ AC_MSG_CHECKING([for tk.h])
AC_EGREP_CPP(yes, [
#include <tk.h>
#if (TK_MAJOR_VERSION >= 8)
yes
-#endif], , have_tcltk=no)
+#endif], found_tk_h=yes, have_tcltk=no)
+ AC_MSG_RESULT([${found_tk_h}])
fi
unset found_tk_h
fi
View
22 aclocal.m4
@@ -136,7 +136,7 @@ AC_DEFUN([R_PROG_TEXMF],
MAKEINFO=false
fi
if test "${PERL}" != false; then
- INSTALL_INFO="\$(top_builddir)/tools/install-info"
+ INSTALL_INFO="\$(PERL) \$(top_srcdir)/tools/install-info.pl"
AC_SUBST(INSTALL_INFO)
else
AC_PATH_PROGS(INSTALL_INFO, [${INSTALL_INFO} install-info], false)
@@ -322,10 +322,7 @@ EOF
fi
])
AC_DEFUN([R_PROG_F77_CC_COMPAT],
- [## FIXME:
- ## This should be in a separate macro, a la libtool AC_CHECK_LIBM
- AC_CHECK_LIB(m, sin, LIBM="-lm", LIBM=)
- ## </FIXME>
+ [AC_REQUIRE([AC_CHECK_LIBM])
AC_MSG_CHECKING([whether ${F77-f77} and ${CC-cc} agree on int and double])
AC_CACHE_VAL(r_cv_prog_f77_cc_compat,
[ cat > conftestf.f <<EOF
@@ -418,10 +415,7 @@ EOF
])
AC_DEFUN([R_PROG_F2C_FLIBS],
[AC_REQUIRE([AC_PROG_RANLIB])
- ## FIXME:
- ## This should be in a separate macro, a la libtool AC_CHECK_LIBM
- AC_CHECK_LIB(m, sin, LIBM="-lm", LIBM=)
- ## </FIXME>
+ AC_REQUIRE([AC_CHECK_LIBM])
AC_CACHE_VAL(r_cv_f2c_flibs,
[## This seems to be necessary on some Linux system. -- you bet! -pd
cat > conftest.${ac_ext} << EOF
@@ -449,6 +443,8 @@ EOF
if test -z "${FLIBS}"; then
warn_f2c_flibs="I found f2c but not libf2c, or libF77 and libI77"
AC_MSG_WARN(${warn_f2c_flibs})
+ else
+ FLIBS="${FLIBS} ${LIBM}"
fi])
AC_DEFUN([R_FUNC___SETFPUCW],
[ AC_CHECK_FUNC(__setfpucw,
@@ -706,11 +702,13 @@ if test -z "${TCLTK_CPPFLAGS}"; then
fi
fi
if test "${found_tcl_h}" = no; then
+ AC_MSG_CHECKING([for tcl.h])
AC_EGREP_CPP(yes, [
#include <tcl.h>
#if (TCL_MAJOR_VERSION >= 8)
yes
-#endif], , have_tcltk=no)
+#endif], found_tcl_h=yes, have_tcltk=no)
+ AC_MSG_RESULT([${found_tcl_h}])
fi
unset found_tcl_h
fi
@@ -738,11 +736,13 @@ if test -z "${TCLTK_CPPFLAGS}"; then
CPPFLAGS="${save_CPPFLAGS}"
fi
if test "${found_tk_h}" = no; then
+ AC_MSG_CHECKING([for tk.h])
AC_EGREP_CPP(yes, [
#include <tk.h>
#if (TK_MAJOR_VERSION >= 8)
yes
-#endif], , have_tcltk=no)
+#endif], found_tk_h=yes, have_tcltk=no)
+ AC_MSG_RESULT([${found_tk_h}])
fi
unset found_tk_h
fi
View
1,061 configure
593 additions, 468 deletions not shown
View
33 configure.in
@@ -256,6 +256,11 @@ AC_PATH_PROGS(R_ZIPCMD, [${ZIP} zip], "")
### FORTRAN compiler
+## This is needed for setting up LIBM and in the FORTRAN tests, hence we
+## do it here rather than later when we do all the library checking.
+AC_CHECK_LIBM
+AC_SUBST(LIBM)
+
## If we have not been forced to use a particular FORTRAN compiler, try
## to find one using one of the several common names.
##
@@ -481,6 +486,8 @@ if test "${cross_compiling}" = yes; then
AC_MSG_WARN([assuming C longs are 4 byte on ${host}])
fi
AC_CHECK_SIZEOF(long, 4)
+AC_CHECK_SIZEOF(long long, 0)
+AC_CHECK_SIZEOF(long double, 0)
R_C_IEEE_754
case "${host}" in
@@ -593,18 +600,23 @@ AC_SUBST(R_XTRA_LIBS)
## approach. In case we cannot figure out {MAIN,SHLIB}_LDFLAGS and the
## user did not provide defaults, an error results. A warning is given
## if nothing was obtained for SHLIB_CXXLDFLAGS.
+##
+## Note also that some systems (notably AIX) do not allow for unresolved
+## symbols at link time. For such systems, we link against -lm (in case
+## it exists) when building a shlib module via SHLIB_LIBADD.
main_ld=${CC}
shlib_ld=${CC}
shlib_cxxld=${CXX}
SHLIB_EXT="so"
+SHLIB_LIBADD=
## Step 1. Ask imake.
AC_PATH_PROG(XMKMF, xmkmf, [],
${PATH}:/usr/bin/X11:/usr/X11R6/bin:/usr/openwin/bin)
if test -n "${XMKMF}"; then
echo > Imakefile
- ${XMKMF} > /dev/null
+ ${XMKMF} > /dev/null || touch Makefile
cc=`${srcdir}/tools/GETMAKEVAL CC`
cc=`echo ${cc} | sed "s/ .*//"`
if test "`which ${cc}`" = "`which ${CC}`"; then
@@ -652,6 +664,7 @@ case "${host}" in
# fi
shlib_ldflags="${wl}-bM:SRE ${wl}-H512 ${wl}-T512 ${wl}-bnoentry \
${wl}-bexpall ${wl}-bI:\$(R_HOME)/etc/R.exp"
+ SHLIB_LIBADD="\$(LIBM)"
;;
alpha*osf*)
cpicflags=
@@ -821,12 +834,13 @@ fi
AC_SUBST(MAIN_LD)
AC_SUBST(MAIN_LDFLAGS)
AC_SUBST(CPICFLAGS)
-AC_SUBST(FPICFLAGS)
AC_SUBST(CXXPICFLAGS)
-AC_SUBST(SHLIB_LD)
-AC_SUBST(SHLIB_LDFLAGS)
+AC_SUBST(FPICFLAGS)
AC_SUBST(SHLIB_CXXLD)
AC_SUBST(SHLIB_CXXLDFLAGS)
+AC_SUBST(SHLIB_LD)
+AC_SUBST(SHLIB_LDFLAGS)
+AC_SUBST(SHLIB_LIBADD)
AC_SUBST(SHLIB_EXT)
AC_DEFINE_UNQUOTED(SHLIB_EXT, "${SHLIB_EXT}")
AC_SUBST(EXPORTFILE)
@@ -932,7 +946,7 @@ AC_SUBST(LIBPATHS)
## This should not be necessary when using libtool for linking.
## In any case, is this really good enough?
-for arg in ${X_LIBS} ${TCLTK_LIBS} ${GNOME_LIBS} ${BLAS_LIBS}; do
+for arg in ${X_LIBS} ${TCLTK_LIBS} ${GNOME_LIBS} ${FLIBS} ${BLAS_LIBS}; do
case ${arg} in
-L*)
lib=`echo ${arg} | sed "s/^-L//"`
@@ -1042,18 +1056,9 @@ AC_OUTPUT(Makeconf
tests/Makefile
tests/Examples/Makefile
tools/Makefile
- tools/Rdnewer
- tools/help2man
- tools/install-info
- tools/pkg2tex
)
AC_OUTPUT_COMMANDS(
- chmod +x \
- tools/Rdnewer \
- tools/help2man \
- tools/install-info \
- tools/pkg2tex
test -f src/include/stamp-h || echo timestamp > src/include/stamp-h
)
View
2  debian/changelog
@@ -11,7 +11,7 @@ r-base (1.2.0-1) unstable; urgency=low
installing R packages from CRAN (Comprehensive R Archive Network)
-- Douglas Bates <bates@stat.wisc.edu> Fri, 15 Dec 2000 07:20:51 -0600
-
+
r-base (1.1.0-1) unstable; urgency=low
* New upstream release.
View
4 debian/rules
@@ -67,9 +67,9 @@ install: build
make check
make install prefix=`pwd`/debian/tmp/usr
make install-pdf prefix=`pwd`/debian/tmp/usr
- sed -e '/{R_HOME=.*/s::{R_HOME=/usr/lib/R}:' \
+ sed -e '/^R_HOME_DIR=.*/s::R_HOME_DIR=/usr/lib/R:' \
< bin/R > debian/tmp/usr/bin/R
- sed -e '/{R_HOME=.*/s::{R_HOME=/usr/lib/R}:' \
+ sed -e '/^R_HOME_DIR=.*/s::R_HOME_DIR=/usr/lib/R:' \
< bin/R > debian/tmp/usr/lib/R/bin/R
# remove unneeded license file
rm -v $(debtmp)/usr/lib/R/COPYING
View
20 demos/language/is-things.R
@@ -14,20 +14,30 @@ cat("\nNumber of base objects:\t\t", length(ls.base),
## This can be useful: Which of the builtin functions are "primitive" ?
is.primitive <- function(obj) is.function(obj) && is.null(args(obj))
+## Do we have a method (probably)?
+is.method <- function(fname) {
+ np <- length(sp <- strsplit(fname, split = "\\.")[[1]])
+ if(np <= 1) return(FALSE)
+ exists(paste(sp[1:(np-1)], collapse = '.'), mode="function") ||
+ (np>=3 &&
+ exists(paste(sp[1:(np-2)], collapse = '.'), mode="function"))
+}
+
is.ALL <- function(obj, func.names = ls(pos=length(search())),
- not.using = c("is.single", "is.na.data.frame",
- "is.loaded", "is.empty.model", "is.element"),
+ not.using = c("is.single", "is.loaded",
+ "is.empty.model", "is.element"),
true.only = FALSE, debug = FALSE)
{
## Purpose: show many 'attributes' of R object __obj__
## -------------------------------------------------------------------------
## Arguments: obj: any R object
## -------------------------------------------------------------------------
- ## Author: Martin Maechler, Date: 6 Dec 96, 15:23
+ ## Author: Martin Maechler, Date: 6 Dec 1996
is.fn <- func.names[substring(func.names,1,3) == "is."]
- use.fn <- is.fn[ is.na(match(is.fn, not.using))]
-
+ use.fn <- is.fn[ is.na(match(is.fn, not.using))
+ & ! sapply(is.fn, is.method) ]
+
r <- if(true.only) character(0)
else structure(vector("list", length= length(use.fn)), names= use.fn)
for(f in use.fn) {
View
4 demos/models/lm+glm.R
@@ -103,8 +103,8 @@ anova(z, update(z, dead ~ dose -1))
## [MM: huh? round(round(n*p)/n, 3) looks almost exactly like "p" !]
n <- c(102, 99, 108, 76, 81, 90)
p <- c(0.539,0.525,0.528,0.724,0.617,0.555)
-## x <- round(n*p)
-x <- n*p
+x <- round(n*p)
+## x <- n*p
y <- cbind(x,n-x)
f <- rep(c(40,150,350),2)
(g <- gl(2,3))
View
47 demos/tcltk/tkcanvas.R
@@ -26,7 +26,7 @@ local({
command=function()tkdestroy(top))
tkpack(dismiss, side="left", expand=TRUE)
- canvas<- tkcanvas(top, relief="raised", width=450, height=300)
+ canvas <- tkcanvas(top, relief="raised", width=450, height=300)
tkpack(canvas, side="top", fill="x")
plotFont <- "Helvetica 18"
@@ -36,12 +36,14 @@ local({
tkcreate(canvas, "text", 225, 20, text="A Simple Plot",
font=plotFont, fill="brown")
+ # X tickmarks & labels
for (i in 0:10) {
x <- 100 + i * 30
tkcreate(canvas, "line", x, 250, x, 245, width=2)
tkcreate(canvas, "text", x, 254,
text=10*i, anchor="n", font=plotFont)
}
+ # Y tickmarks & labels
for (i in 0:5) {
y <- 250 - i * 40
tkcreate(canvas, "line", 100, y, 105, y, width=2)
@@ -50,6 +52,7 @@ local({
anchor="e", font=plotFont)
}
+ # The (original) data
points <- matrix(c(12, 56,
20, 94,
33, 98,
@@ -58,7 +61,7 @@ local({
75, 160,
98, 223), ncol=2, byrow=TRUE)
-
+ ## `self-drawing' point object
point.items <- apply(points, 1, function(row) {
x <- 100 + 3 * row[1]
y <- 250 - 4/5 * row[2]
@@ -69,37 +72,35 @@ local({
item
})
- ## plotDown --
- ## This procedure is invoked when the mouse is pressed over one of the
- ## data points. It sets up state to allow the point to be dragged.
- ##
- ## Arguments:
- ## x, y - The coordinates of the mouse press.
-
plotDown <- function(x, y) {
- x <- as.numeric(x)
- y <- as.numeric(y)
- tkdtag(canvas, "selected")
- tkaddtag(canvas, "selected", "withtag", "current")
- tkitemraise(canvas,"current")
- lastX <<- x
- lastY <<- y
+ ## This procedure is invoked when the mouse is pressed over one
+ ## of the data points. It sets up state to allow the point
+ ## to be dragged.
+ ##
+ ## Arguments:
+ ## x, y - The coordinates of the mouse press.
+ x <- as.numeric(x)
+ y <- as.numeric(y)
+ tkdtag(canvas, "selected")
+ tkaddtag(canvas, "selected", "withtag", "current")
+ tkitemraise(canvas,"current")
+ lastX <<- x
+ lastY <<- y
}
- ## plotMove --
- ## This procedure is invoked during mouse motion events. It drags the
- ## current item.
- ##
- ## Arguments:
- ## x, y - The coordinates of the mouse.
-
plotMove <- function(x, y) {
+ ## This procedure is invoked during mouse motion events.
+ ## It drags the current item.
+ ##
+ ## Arguments:
+ ## x, y - The coordinates of the mouse.
x <- as.numeric(x)
y <- as.numeric(y)
tkmove(canvas, "selected", x - lastX, y - lastY)
lastX <<- x
lastY <<- y
}
+### FIXME : Don't allow points to be moved outside the canvas !!
plotLine <- function(){
coords <- lapply(point.items,
View
17 doc/Makefile.in
@@ -15,7 +15,7 @@ INSTFILES = KEYWORDS KEYWORDS.db
DISTFILES = Makefile.in $(INSTFILES) R.1 R.aux
SUBDIRS = html manual
-HELP2MAN = $(top_builddir)/tools/help2man
+HELP2MAN = $(PERL) $(top_srcdir)/tools/help2man.pl
all: Makefile R docs
@@ -50,10 +50,15 @@ install-strip: install
uninstall:
@echo "uninstalling $(subdir) ..."
- @if test -d $(rhome)/$(subdir) -a \
- "`cd $(rhome); pwd`" != "`cd $(top_builddir); pwd`"; then \
- (cd $(rhome)/$(subdir) && \
- rm -rf $(SUBDIRS) KEYWORDS*); \
+ @if test -d $(rhome)/$(subdir) \
+ && test "`cd $(rhome); pwd`" != "`cd $(top_builddir); pwd`"; \
+ then \
+ for d in $(SUBDIRS); do \
+ (cd $${d} && $(MAKE) $@) || exit 1; \
+ done; \
+ for f in $(INSTFILES); do \
+ rm -f $(rhome)/$(subdir)/$${f}; \
+ done; \
rmdir $(rhome)/$(subdir) 2>/dev/null \
|| echo " subdir $(subdir) not removed"; \
fi
@@ -75,7 +80,7 @@ distclean: clean
maintainer-clean: distclean
@echo "This command is intended for maintainers to use; it"
@echo "deletes files that may need special rules to rebuild"
- @rm -f R.1
+ @rm -f $(srcdir)/R.1
maintainer-build: $(srcdir)/R.1
$(srcdir)/R.1: $(top_srcdir)/src/scripts/R.sh.in $(srcdir)/R.aux
View
15 doc/html/Makefile.in
@@ -18,9 +18,15 @@ INSTFILES = \
faq.html \
packages-foot.html \
packages-head.html \
- resource.html \
+ resources.html \
template.html \
thanks.html
+## FIXME:
+## Remove resource.html when releasing 1.3.0
+## build-help really should not create function.html and package.html
+## in *this* directory.
+CLEANFILES = $(INSTFILES) function.html packages.html resource.html
+## </FIXME>
DISTFILES = Makefile.in $(INSTFILES) index-default.html
SUBDIRS = search
@@ -69,6 +75,11 @@ uninstall:
@for d in $(SUBDIRS); do \
(cd $${d} && $(MAKE) $@); \
done
+ @for f in $(CLEANFILES) $(OBJECTS); do \
+ rm -f $(rhome)/$(subdir)/$${f}; \
+ done
+ @rmdir $(rhome)/$(subdir) 2>/dev/null \
+ || echo " subdir $(subdir) not removed"
mostlyclean:
clean:
@@ -76,7 +87,7 @@ clean:
(cd $${d} && $(MAKE) $@); \
done
@if [ "$(srcdir)" != "." ]; then \
- rm -f $(INSTFILES); \
+ rm -f $(CLEANFILES); \
fi
@rm -f $(OBJECTS)
distclean: clean
View
19 doc/html/about.html
@@ -12,17 +12,16 @@
<h2>Introduction</h2>
-<p>
-<B>R</B> is a computer language not entirely unlike the S language developed
-at AT&amp;T Bell Laboratories by Rick Becker, John Chambers and Allan
-Wilks. The two languages are implemented quite differently, but bear
-enough superficial resemblence that users should be able to switch
-between the two with relative ease.
+<p> <B>R</B> is a computer language not entirely unlike the S language
+developed at AT&amp;T Bell Laboratories by Rick Becker, John Chambers
+and Allan Wilks. The two languages are implemented quite differently,
+but bear enough superficial resemblence that users should be able to
+switch between the two with relative ease.
-Currently the software is undergoing active development. Discussion
-of the development process is carried out on the "r-devel" mailing
-list. See the <a href="resource.html">resources page</a> for details on
-how to subscribe to this list.
+Currently the software is undergoing active development. Discussion of
+the development process is carried out on the "r-devel" mailing list.
+See the <a href="resources.html">resources page</a> for details on how
+to subscribe to this list.
<P>
We have implemented <B>R</B> in what we hope is a very portable
View
4 doc/html/faq.html
@@ -16,7 +16,7 @@
<h1>R FAQ</h1>
<h2>Frequently Asked Questions on R</h2>
-<h2>Version 1.2-17, 2001-01-12</h2>
+<h2>Version 1.2-18, 2001-01-13</h2>
<address>Kurt Hornik</address>
<p><p><hr><p>
@@ -1581,6 +1581,8 @@
<br><dt><strong>dseplus</strong>
<dd>Extensions to <strong>dse</strong>, the Dynamic Systems Estimation multivariate
time series package. Contains PADI, juice and monitoring extensions.
+<br><dt><strong>ensemble</strong>
+<dd>Ensembles of tree classifiers.
<br><dt><strong>funfits</strong>
<dd>An integrated set of functions for fitting curves and surfaces including
thin plate splines, kriging and neural networks.
View
2  doc/html/index-default.html
@@ -51,7 +51,7 @@
<tr>
<td align="center"><a href="about.html">About R</a> </td>
<td align="center"><a href="../../AUTHORS">Authors</a> </td>
-<td align="center"><a href="resource.html">Resources</a></td>
+<td align="center"><a href="resources.html">Resources</a></td>
</tr>
<tr>
<td align="center"><a href="../../COPYING">License</a></td>
View
38 doc/html/resource.html
@@ -1,4 +1,4 @@
-<HTML>
+\<HTML>
<HEAD>
<TITLE>R: Resources</TITLE>
<LINK REL=STYLESHEET TYPE="text/css" HREF="R.css">
@@ -7,9 +7,9 @@
<BODY>
-<h1>Other Resources <img class="toplogo" src="logo.jpg" alt="[R logo]"></h1>
+<h1>Other Resources <img class=toplogo src="logo.jpg"></h1>
-<hr width="100%">
+<HR WIDTH="100%">
<h2>FAQ</h2>
@@ -31,14 +31,14 @@
<ul>
<li><a href="mailto:r-announce@lists.r-project.org">
r-announce@lists.r-project.org</a>:
- announcements of new R releases or applications</li>
+ announcements of new R releases or applications
<li><a href="mailto:r-help@lists.r-project.org">
r-help@lists.r-project.org</a>:
- general inquiries and discussion about R</li>
+ general inquiries and discussion about R
<li><a href="mailto:r-devel@lists.r-project.org">
r-devel@lists.r-project.org</a>:
discussions about the future of R and pre-testing of new
- versions</li>
+ versions
</ul>
@@ -46,11 +46,11 @@
unsubscribe) (in the "body", not the subject !) to:
<ul>
<li><a href="mailto:r-announce-request@lists.r-project.org">
- r-announce-request@lists.r-project.org</a></li>
+ r-announce-request@lists.r-project.org</a>
<li><a href="mailto:r-help-request@lists.r-project.org">
- r-help-request@lists.r-project.org</a></li>
+ r-help-request@lists.r-project.org</a>
<li><a href="mailto:r-devel-request@lists.r-project.org">
- r-devel-request@lists.r-project.org</a></li>
+ r-devel-request@lists.r-project.org</a>
</ul>
<h2>Archives</h2>
@@ -61,29 +61,31 @@
the contributed extensions, documentation for R, and binaries.
The CRAN master site at TU Wien, Austria, can be found at the URLs
+<p>
<center>
-<table border="0" width="90%">
+<table border=0 width=90%>
<tr>
- <td width="45%"><a href="http://cran.r-project.org">
+ <td width=45%><a href="http://cran.r-project.org">
http://cran.r-project.org</a></td>
</tr>
<tr>
- <td width="45%"><a href="ftp://cran.r-project.org/pub/R">
+ <td width=45%><a href="ftp://cran.r-project.org/pub/R">
ftp://pub/cran.r-project.org/pub/R/</a></td>
</tr>
<tr>
- <td width="45%">
- rsync: cran.r-project.org::CRAN</td>
+ <td width=45%>
+ rsync: cran.r-project.org::CRAN</a></td>
</tr>
</table>
</center>
<p>
Current mirrors include
+<p>
<center>
-<table border=0 width=90% align="center">
+<table border=0 width=90%>
<tr>
- <td width="45%"><a href="http://cran.at.r-project.org">
+ <td width=45%><a href="http://cran.at.r-project.org">
http://cran.at.r-project.org</a></td>
<td>TU Wien, Austria</td>
</tr>
@@ -93,12 +95,12 @@
<td>ETH Zürich, Switzerland</td>
</tr>
<tr>
- <td width="45%"><a href="http://cran.dk.r-project.org">
+ <td width=45%><a href="http://cran.dk.r-project.org">
http://cran.dk.r-project.org</a></td>
<td>SunSITE, Denmark</td>
</tr>
<tr>
- <td width="45%"><a href="http://cran.hu.r-project.org">
+ <td width=45%><a href="http://cran.hu.r-project.org">
http://cran.hu.r-project.org</a></td>
<td>Semmelweis University, Hungary</td>
</tr>
View
141 doc/html/resources.html
@@ -0,0 +1,141 @@
+<html lang="en"><head>
+<title>R Resources</title>
+<meta http-equiv="Content-Type" content="text/html">
+<meta name=description content="R Resources">
+<meta name=generator content="makeinfo 4.0">
+<link href="http://texinfo.org/" rel=generator-home>
+</head><body>
+
+<HTML>
+<HEAD>
+<TITLE>R: Resources</TITLE>
+<LINK REL=STYLESHEET TYPE="text/css" HREF="R.css">
+</HEAD>
+
+<BODY>
+<h1>Other Resources
+<img class="toplogo" src="logo.jpg" alt="[R logo]">
+</h1>
+<hr width="100%">
+
+<a name="Top"></a>
+
+</ul>
+
+<a name="FAQ"></a>
+
+<h2>FAQ</h2>
+
+<p>A collection of <a href="faq.html">Frequently Asked Questions</a> and their
+answers is maintained by <a href="mailto:Kurt.Hornik@r-project.org">Kurt Hornik</a>
+and can be found at the <small>URL</small>
+
+<blockquote>
+<a href="http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html">http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html</a>
+</blockquote>
+
+<a name="Mailing%20lists"></a>
+
+<h2>Mailing lists</h2>
+
+<p>Thanks to <a href="mailto:Martin.Maechler@r-project.org">Martin Maechler</a> there
+are number of mailing lists which are used by R users and developers.
+They are
+
+<blockquote>
+<dl>
+<dt><a href="r-announce@lists.r-project.org">r-announce@lists.r-project.org</a>
+<dd>announcements of new R releases or applications;
+<br><dt><a href="r-help@lists.r-project.org">r-help@lists.r-project.org</a>
+<dd>general inquiries and discussion about R;
+<br><dt><a href="r-devel@lists.r-project.org">r-devel@lists.r-project.org</a>
+<dd>discussions about the future of R and pre-testing of new versions.
+</dl>
+</blockquote>
+
+<p>To subscribe (or unsubscribe) to these mailing lists send
+<code>subscribe</code> (or <code>unsubscribe</code>) in the <em>body</em> of the
+message (not in the subject!) to
+
+<blockquote>
+<a href="r-announce-request@lists.r-project.org">r-announce-request@lists.r-project.org</a> <br>
+<a href="r-help-request@lists.r-project.org">r-help-request@lists.r-project.org</a> <br>
+<a href="r-devel-request@lists.r-project.org">r-devel-request@lists.r-project.org</a>
+</blockquote>
+
+<a name="Archives"></a>
+
+<h2>Archives</h2>
+
+<p>The Comprehensive R Archive Network (<small>CRAN</small>) is a collection of
+sites which carry identical material, consisting of the R
+distribution(s), the contributed extensions, documentation for R, and
+binaries.
+
+<p><small>CRAN</small> also contains a <em>daily</em> snapshots of the latest R
+sources.
+
+<p>The <small>CRAN</small> master site at TU Wien, Austria, can be found at the
+<small>URL</small>s
+
+<blockquote>
+<p><table><tr align="left"><td><a href="http://cran.r-project.org/">http://cran.r-project.org/</a>
+<br></tr><tr align="left"><td><a href="ftp://cran.r-project.org/pub/R/">ftp://cran.r-project.org/pub/R/</a>
+<br></tr></table>
+</blockquote>
+
+<p>and is also available for anonymous rsync at
+<code>cran.r-project.org::CRAN</code>.
+
+<p>It is currently mirrored daily at
+
+<blockquote>
+<p><table><tr align="left"><td><a href="http://cran.at.r-project.org/">http://cran.at.r-project.org/</a>
+<td>TU Wien, Austria
+<br></tr><tr align="left"><td><a href="http://cran.ch.r-project.org/">http://cran.ch.r-project.org/</a>
+<td>ETH Z&uuml;rich, Switzerland
+<br></tr><tr align="left"><td><a href="http://cran.dk.r-project.org/">http://cran.dk.r-project.org/</a>
+<td>SunSITE, Denmark
+<br></tr><tr align="left"><td><a href="http://cran.hu.r-project.org/">http://cran.hu.r-project.org/</a>
+<td>Semmelweis University, Hungary
+<br></tr><tr align="left"><td><a href="http://cran.uk.r-project.org/">http://cran.uk.r-project.org/</a>
+<td>University of Bristol, UK
+<br></tr><tr align="left"><td><a href="http://cran.us.r-project.org/">http://cran.us.r-project.org/</a>
+<td>University of Wisconsin, USA
+<br></tr><tr align="left"><td><a href="http://mirror.aarnet.edu.au/CRAN/">http://mirror.aarnet.edu.au/CRAN/</a>
+<td>University of Queensland, Australia
+<br></tr><tr align="left"><td><a href="ftp://ftp.u-aizu.ac.jp/pub/lang/R/CRAN/">ftp://ftp.u-aizu.ac.jp/pub/lang/R/CRAN/</a>
+<td>University of Aizu, Japan
+<br></tr><tr align="left"><td><a href="ftp://dola.snu.ac.kr/pub/R/CRAN/">ftp://dola.snu.ac.kr/pub/R/CRAN/</a>
+<td>Seoul, South Korea
+<br></tr><tr align="left"><td><a href="http://lib.stat.cmu.edu/R/CRAN/">http://lib.stat.cmu.edu/R/CRAN/</a>
+<td>Statlib, Carnegie Mellon University, USA
+<br></tr></table>
+</blockquote>
+
+<p>Many of these sites can also be accessed using FTP. In the interests of
+preserving international bandwidth please use a site near you if
+possible.
+
+<a name="Bug-tracking%20system"></a>
+
+<h2>Bug-tracking system</h2>
+
+<p>R has a bug-tracking system (or perhaps a bug-filing system is a more
+precise description) available on the net at
+
+<blockquote>
+<a href="http://bugs.r-project.org/">http://bugs.r-project.org/</a>
+</blockquote>
+
+<p>and via e-mail to <a href="mailto:r-bugs@r-project.org">r-bugs@r-project.org</a>. The R function
+<code>bug.report()</code> can be used to invoke an editor from a within an R
+session and send the report to the right address. It also fills in some
+basic information, such as your R version and operating system, which
+has proved helpful in the debugging process.
+
+<p>The source distribution has a file <code>BUGS</code> at the top level giving a
+summary of the entries at the time this distribution was prepared.
+
+</body></html>
+
View
2  doc/html/thanks.html
@@ -13,7 +13,7 @@
<!-- buttons begin -->
<div align="center">
-<a href="resource.html"><img src="left.jpg" alt="[Prev Page]"
+<a href="resources.html"><img src="left.jpg" alt="[Prev Page]"
width="30" height="30" border="0"></a>
<a href= "index.html"><img src="up.jpg" alt="[Home]" width="30"
height="30" border="0"></a>
View
32 doc/manual/Makefile.in
@@ -17,6 +17,7 @@ DISTFILES = \
Makefile.in Makefile.win \
R-defs.texi dir texinfo.tex \
$(SOURCES_TEXI) \
+ resources.texi \
R-exts.R R-exts.c R-intro.R \
Rd.sty hyperref.cfg \
omsaer.fd omsaett.fd omscmtt.fd \
@@ -114,12 +115,12 @@ stamp-refman-dvi: $(pkgsrcs)
@touch $@
$(pkgsrcs): FORCE $(top_builddir)/bin/build-help
@(pkg=`basename $@ -pkg.tex`; \
- if $(top_builddir)/tools/Rdnewer \
+ if $(PERL) $(top_srcdir)/tools/Rdnewer.pl \
"$(top_srcdir)/src/library/$${pkg}" "$@"; then \
echo "collecting LaTeX docs for package \`$${pkg}' ..."; \
(cd $(top_builddir)/src/library && \
OPTS="--latex" $(MAKE) R_PKGS="$${pkg}" DOCS); \
- $(top_builddir)/tools/pkg2tex $${pkg}; \
+ $(PERL) $(top_srcdir)/tools/pkg2tex.pl $${pkg}; \
fi)
FORCE:
$(top_builddir)/bin/build-help: $(top_srcdir)/src/scripts/build-help.in
@@ -246,6 +247,9 @@ $(infodir)/dir:
$(INSTALL_DATA) $(srcdir)/dir $(infodir)
uninstall:
+ @if test -f $(infodir)/R-data.info; then \
+ $(MAKE) uninstall-info; \
+ fi
@echo "uninstalling $(subdir) ..."
@rm -rf $(rhome)/$(subdir)
uninstall-dvi:
@@ -268,7 +272,6 @@ uninstall-pdf:
mostlyclean: clean
clean:
- @echo "cleaning in $(subdir)"
@if [ "$(srcdir)" != "." ]; then \
rm -rf Rd.sty images; \
fi
@@ -283,20 +286,35 @@ distclean: clean
maintainer-clean: distclean
MAKEINFO_TEXT_OPTS = --number-sections --fill-column=76 --no-split --no-headers
-MAKEINFO_HTML_OPTS = --number-sections --html
-maintainer-build: $(top_srcdir)/FAQ $(top_srcdir)/doc/html/faq.html
+maintainer-build: \
+ $(top_srcdir)/FAQ \
+ $(top_srcdir)/RESOURCES \
+ $(top_srcdir)/doc/html/faq.html \
+ $(top_srcdir)/doc/html/resources.html
$(top_srcdir)/FAQ: $(srcdir)/R-FAQ.texi
@if test "$(MAKEINFO)" = false; then \
echo "ERROR: \`makeinfo' v4 needed but missing on your system."; \
exit 1; \
fi
- @$(MAKEINFO) $(MAKEINFO_TEXT_OPTS) $< -o $@
+ $(MAKEINFO) $(MAKEINFO_TEXT_OPTS) $< -o $@
$(top_srcdir)/doc/html/faq.html: $(srcdir)/R-FAQ.texi