Commit 22410507 authored by Dirk Eddelbuettel's avatar Dirk Eddelbuettel

Import Upstream version 2.5.1

parent 83635d9a
......@@ -79,10 +79,10 @@ install install-strip: installdirs svnonly
(cd $${d} && $(MAKE) $@) || exit 1; \
done
@for f in $(INSTFILES); do \
$(INSTALL_DATA) $(srcdir)/$${f} "$(rhome)"; \
$(INSTALL_DATA) $(srcdir)/$${f} "$(DESTDIR)$(rhome)"; \
done
@for f in $(NON_SVN_INSTFILES); do \
$(INSTALL_DATA) $${f} "$(rhome)"; \
$(INSTALL_DATA) $${f} "$(DESTDIR)$(rhome)"; \
done
@WANT_R_FRAMEWORK_TRUE@ $(MAKE) install-R-framework
@WANT_R_FRAMEWORK_TRUE@ @(sed 's|^LIBR =.*|LIBR = -F$(R_FRAMEWORK_DIR)/.. -framework R|' \
......@@ -115,21 +115,21 @@ libR_la = lib/libR$(DYLIB_EXT)
install-libR:
@if test -f $(libR_la); then $(MAKE) install-libR-exists; fi
install-libR-exists:
@$(MKINSTALLDIRS) "${libdir}"
@$(INSTALL_DATA) -m755 $(libR_la) "${libdir}"
@$(MKINSTALLDIRS) "$(DESTDIR)${libdir}"
@$(INSTALL_DATA) -m755 $(libR_la) "$(DESTDIR)${libdir}"
installdirs:
@$(MKINSTALLDIRS) "$(rhome)"
@$(MKINSTALLDIRS) "$(DESTDIR)$(rhome)"
uninstall:
@(for d in $(SUBDIRS); do rsd="$${d} $${rsd}"; done; \
for d in $${rsd}; do (cd $${d} && $(MAKE) $@); done)
@for f in $(INSTFILES) $(NON_SVN_INSTFILES); do \
rm -f "$(rhome)/$${f}"; \
rm -f "$(DESTDIR)$(rhome)/$${f}"; \
done
@rm -rf "$(Rexecbindir)" "$(rhome)/lib"
@rmdir "$(rhome)" 2>/dev/null \
|| echo " dir $(rhome) not removed"
@rm -f "${libdir}/libR$(DYLIB_EXT)"
@rm -rf "$(DESTDIR)$(Rexecbindir)" "$(DESTDIR)$(rhome)/lib"
@rmdir "$(DESTDIR)$(rhome)" 2>/dev/null \
|| echo " dir $(DESTDIR)$(rhome) not removed"
@rm -f "$(DESTDIR)${libdir}/libR$(DYLIB_EXT)"
mostlyclean: clean
clean:
......
......@@ -6,6 +6,206 @@
**************************************************
CHANGES IN R VERSION 2.5.1
NEW FEATURES
o density(1:20, bw = "SJ") now works as bw.SJ() now tries a larger
search interval than the default (lower, upper) if it does not
find a solution within the latter.
o The output of library() (no arguments) is now sorted by library
trees in the order of .libPaths() and not alphabetically.
o R_LIBS_USER and R_LIBS_SITE feature possible expansion of
specifiers for R version specific information as part of the
startup process.
o C-level warning calls now print a more informative context,
as C-level errors have for a while.
o There is a new option "rl_word_breaks" to control the way the
input line is tokenized in the readline-based terminal
interface for object- and file-name completion.
This allows it to be tuned for people who use their space bar
vs those who do not. The default now allows filename-completion
with +-* in the filenames.
o If the srcfile argument to parse() is not NULL, it will be added
to the result as a "srcfile" attribute.
o It is no longer possible to interrupt lazy-loading (which was
only at all likely when lazy-loading environments), which
would leave the object being loaded in an unusable state.
This is a temporary measure: error-recovery when evaluating
promises will be tackled more comprehensively in 2.6.0.
INSTALLATION
o 'make check' will work with --without-iconv, to accommodate
building on AIX where the system iconv conflicts with
libiconv and is not compatible with R's requirements.
o There is support for 'DESTDIR': see the R-admin manual.
o The texinfo manuals are now converted to HTML with a style
sheet: in recent versions of makeinfo the markup such as @file
was being lost in the HTML rendering.
o The use of inlining has been tweaked to avoid warnings from
gcc >= 4.2.0 when compiling in C99 mode (which is the default
from configure).
BUG FIXES
o as.dendrogram() failed on objects of class "dendrogram".
o plot(type ="s") (or "S") with many (hundreds of thousands)
of points could overflow the stack. (PR#9629)
o Coercing an S4 classed object to "matrix" (or other basic class)
failed to unset the S4 bit.
o The 'useS4' argument of print.default() had been broken by an
unrelated change prior to 2.4.1. This allowed print() and
show() to bounce badly constructed S4 objects between
themselves indefinitely.
o Prediction of the seasonal component in HoltWinters() was one
step out at one point in the calculations.
decompose() incorrectly computed the 'random' component for a
multiplicative fit.
o Wildcards work again in unlink() on Unix-alikes (they did not
in 2.5.0).
o When qr() used pivoting, the coefficient names in qr.coef() were
not pivoted to match. (PR#9623)
o UseMethod() could crash R if the first argument was not a
character string.
o R and Rscript on Unix-alikes were not accepting spaces in -e
arguments (even if quoted).
o Hexadecimal integer constants (e.g. 0x10L) were not being parsed
correctly on platforms where the C function atof did not
accept hexadecimal prefixes (as required by C99, but not
implemented in MinGW as used by R on Windows). (PR#9648)
o libRlapack.dylib on Mac OS X had no version information and
sometimes an invalid identification name.
o Rd conversion of \usage treated '\\' as a single backslash in
all but latex: it now acts consistently with the other
verbatim-like environments (it was never 'verbatim' despite
the documentation).
\code{\.} is now rendered as '\.' in all formats, as
documented (it was not the case for latex conversion).
codoc() (and checkDocStyle() and checkDocUsage()) now apply
the same transformations to \usage as Rd conversion does,
so {, % and \\ in strings in usages will now be related
correctly to the help files.
o rbind() failed if the only data frame had 0 rows. (PR#9657)
o <a data.frame>[i, j] could sometimes select the wrong column
when j is numeric if there are duplicate column names.
o sample(x, size, replace=TRUE, prob) had a memory leak if
10000 < size <= 100000.
o x <- cbind(1:2); rownames(x) <- factor(c("A",NA)) now longer
segfaults.
o R CMD BATCH no longer assumes Sys.unsetenv() is supported (it
is not on older Solaris systems).
o median() returned a logical result when it was 'NA': it now
returns an NA of appropriate type (e.g. integer or double).
o grep(fixed = TRUE, perl = TRUE) ignored 'fixed', although it
was documented to ignore 'perl'
Same for [g]regexpr and [g]sub.
o getNamespaceExports("base") works again.
o runmed(c(), 1) no longer segfaults.
o qr.coef(QR, b) failed for an LAPACK-produced QR if b was
integer or for an over-determined system.
qr.solve() for an under-determined system produces a
solution with 0 and not NA for columns which are unused.
o segments() was not handling full transparency correctly in PDF.
(PR#9694)
Nor was arrows().
o callGeneric() inside a method with extra arguments {and hence
currently defined via .local()} now works.
o [g]sub(fixed=TRUE, useBytes=FALSE) could substitute in the
wrong place in an MBCS locale.
gregexpr() could give incorrect answers in MBCS locales for
perl = TRUE or fixed = TRUE (unless useBytes = TRUE).
o The legacy quartz() device no longer crashes in locator()
if the user attempts to close the window.
o "CGGStackRestore: gstack underflow" warning is no longer shown
in legacy quartz() device.
o formatC() now limits 'digits' to 50 to avoid problems in
C-level sprintf in some OSes.
o seq.int(x, y, by=z) gave 'x' (and not an error) if
0 > (y-x)/z > -1.
o promptClass() now lists methods, including those for generics in
other attached packages.
o Connection-related functions such as readBin() no longer crash
when supplied with a non-connection object.
o as.character.srcref() didn't handle bad srcref objects cleanly.
o predict.nls() no longer requires 'newdata' to contain exactly
the variable names needed to fit the model: variables used on
the LHS only are no longer required and further variables are
allowed.
o plot.hclust() had a 'out by one' error, and ignored the last
object when computing the window region (and could overrun
arrays).
o deriv() was creating results with double (and not integer) dims.
o The unserialize code (e.g. as called by load()) looked for a
function findPackageEnv() to set a saved package environment.
This was missing, but is now supplied.
o [cr]bind could segfault when creating a list matrix result.
(Reported by Martin Morgan.)
o besselI(x, nu, exp=TRUE) and besselY(x, nu) could give wrong
answers for nu < 0. (Reported by Hiroyuki Kawakatsu.)
o [g]sub could confuse a trailing byte '\' for a backreference
in MBCSs where '\' can occur as a trailing byte (not UTF-8 nor
EUC-JP, but SJIS and the CJK character sets used on Windows).
(PR#9751)
CHANGES IN R VERSION 2.5.0
......@@ -431,6 +631,9 @@ NEW FEATURES
editor on both Windows and X11. In particular, resizing the
window works much better on X11.
o Packages graphics and grid no longer require grDevices, as
they might be used only with third-party devices.
DEPRECATED & DEFUNCT
......
Revision: 41293
Last Changed Date: 2007-04-23
Revision: 42083
Last Changed Date: 2007-06-27
This diff is collapsed.
......@@ -119,7 +119,7 @@ libnn=lib
case "${host_os}" in
linux*)
case "${host_cpu}" in
x86_64|mips64|ppc64|sparc64|s390x)
x86_64|mips64|ppc64|powerpc64|sparc64|s390x)
libnn=lib64
;;
esac
......@@ -296,7 +296,7 @@ AC_ARG_ENABLE([mbcs],
## BLAS.
AC_ARG_WITH([blas],
[AC_HELP_STRING([--with-blas],
[use BLAS library, or specify it @<:@no@:>@])],
[use system BLAS library (if available), or specify it @<:@no@:>@])],
[R_ARG_USE(blas)],
[use_blas=unset])
# default is "no" except on MacOS X
......@@ -304,15 +304,14 @@ AC_ARG_WITH([blas],
## LAPACK.
AC_ARG_WITH([lapack],
[AC_HELP_STRING([--with-lapack],
[use LAPACK library, or specify it @<:@no@:>@])],
[use system LAPACK library (if available), or specify it @<:@no@:>@])],
[R_ARG_USE(lapack)],
[use_lapack=unset])
# default is "no" except on MacOS X
## Readline.
AC_ARG_WITH([readline],
[AC_HELP_STRING([--with-readline],
[use readline library (if available) @<:@yes@:>@])],
[AC_HELP_STRING([--with-readline], [use readline library @<:@yes@:>@])],
[R_ARG_USE(readline)],
[use_readline=yes])
......@@ -330,7 +329,7 @@ fi],
## Tcl/Tk.
AC_ARG_WITH([tcltk],
[AC_HELP_STRING([--with-tcltk],
[use Tcl/Tk, or specify its library dir @<:@yes@:>@])],
[use Tcl/Tk (if available), or specify its library dir @<:@yes@:>@])],
[if test "${withval}" = no; then
want_tcltk=no
elif test "${withval}" = yes; then
......@@ -400,15 +399,14 @@ AM_CONDITIONAL(USE_LIBTOOL, [test "x${use_libtool}" = xyes])
## Recommended R packages.
AC_ARG_WITH([recommended-packages],
[AC_HELP_STRING([--with-recommended-packages],
[use/install recommended R packages (if available)
@<:@yes@:>@])],
[use/install recommended R packages @<:@yes@:>@])],
[R_ARG_USE(recommended_packages)],
[use_recommended_packages=yes])
## Iconv.
AC_ARG_WITH([iconv],
[AC_HELP_STRING([--with-iconv],
[use iconv library (if available) @<:@yes@:>@])],
[use iconv library @<:@yes@:>@])],
[R_ARG_USE(iconv)],
[use_iconv=yes])
......@@ -1114,7 +1112,7 @@ if test "${GCC}" = yes; then
## has 32k and so can use -fpic.
## However, although the gcc docs do not mention it, it seems s390/s390x
## also supports and needs -fPIC
sparc*|ppc64|s390*)
sparc*|ppc64|powerpc64|s390*)
cpicflags="-fPIC"
;;
*)
......@@ -1125,7 +1123,7 @@ if test "${GCC}" = yes; then
fi
if test "${G77}" = yes; then
case "${host_cpu}" in
sparc*|ppc64|s390*)
sparc*|ppc64|powerpc64|s390*)
fpicflags="-fPIC"
;;
*)
......@@ -1135,7 +1133,7 @@ if test "${G77}" = yes; then
fi
if test "${GXX}" = yes; then
case "${host_cpu}" in
sparc*|ppc64|s390*)
sparc*|ppc64|powerpc64|s390*)
cxxpicflags="-fPIC"
;;
*)
......@@ -1856,7 +1854,7 @@ AC_SUBST(R_MODULES)
if test "${use_iconv}" = yes; then
R_ICONV
if test "$r_cv_iconv_latin1" != yes; then
AC_MSG_ERROR([--with-iconv=yes (default) and suitable iconv is not available])
AC_MSG_ERROR([--with-iconv=yes (default) and a suitable iconv is not available])
fi
else
AC_MSG_WARN([--with-iconv=no is deprecated and will be withdrawn shortly])
......@@ -2004,7 +2002,7 @@ AC_SUBST(SHLIB_FCLDFLAGS)
## use this to pick out gfortran (even though it is unreliable).
if test "${ac_cv_fc_compiler_gnu}" = yes; then
case "${host_cpu}" in
sparc*|ppc64|s390*)
sparc*|ppc64|powerpc64|s390*)
fcpicflags="-fPIC"
;;
*)
......
This diff is collapsed.
......@@ -44,41 +44,41 @@ install: install-message installdirs install-sources install-sources2 install-ma
(cd $${d} && $(MAKE) $@) || exit 1; \
done
installdirs:
@$(MKINSTALLDIRS) "$(rdocdir)"
@$(MKINSTALLDIRS) $(mandir)/man1
@$(MKINSTALLDIRS) "$(DESTDIR)$(rdocdir)"
@$(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man1
install-man: R.1 Rscript.1
@rm -f $(mandir)/man1/R.1
@$(INSTALL_DATA) R.1 $(mandir)/man1
@rm -f $(mandir)/man1/Rscript.1
@@$(INSTALL_DATA) ${srcdir}/Rscript.1 $(mandir)/man1
@rm -f $(DESTDIR)$(mandir)/man1/R.1
@$(INSTALL_DATA) R.1 $(DESTDIR)$(mandir)/man1
@rm -f $(DESTDIR)$(mandir)/man1/Rscript.1
@@$(INSTALL_DATA) ${srcdir}/Rscript.1 $(DESTDIR)$(mandir)/man1
install-message:
@echo "installing $(subdir) ..."
install-sources:
@for f in $(INSTFILES); do \
$(INSTALL_DATA) $(srcdir)/$${f} "$(rdocdir)"; \
$(INSTALL_DATA) $(srcdir)/$${f} "$(DESTDIR)$(rdocdir)"; \
done
install-sources2:
@for f in $(NON_SVN_INSTFILES); do \
$(INSTALL_DATA) $${f} "$(rdocdir)"; \
$(INSTALL_DATA) $${f} "$(DESTDIR)$(rdocdir)"; \
done
$(INSTALL_DATA) $(top_srcdir)/NEWS "$(rdocdir)"
$(INSTALL_DATA) $(top_srcdir)/NEWS "$(DESTDIR)$(rdocdir)"
install-strip: install
uninstall:
@echo "uninstalling $(subdir) ..."
@if test -d "$(rdocdir)" \
&& test "`cd \"$(rhome)\"; $(GETWD)`" \
@if test -d "$(DESTDIR)$(rdocdir)" \
&& test "`cd \"$(DESTDIR)$(rhome)\"; $(GETWD)`" \
!= "`cd $(top_builddir); $(GETWD)`"; then \
for d in $(SUBDIRS); do \
(cd $${d} && $(MAKE) $@) || exit 1; \
done; \
for f in $(INSTFILES) $(NON_SVN_INSTFILES) NEWS; do \
rm -f "$(rdocdir)"/$${f}; \
rm -f "$(DESTDIR)$(rdocdir)"/$${f}; \
done; \
rmdir "$(rdocdir)" 2>/dev/null \
|| echo " subdir $(subdir) not removed"; \
rmdir "$(DESTDIR)$(rdocdir)" 2>/dev/null \
|| echo " subdir $(DESTDIR)$(subdir) not removed"; \
fi
@rm -f $(mandir)/man1/R.1 $(mandir)/man1/Rscript.1
@rm -f $(DESTDIR)$(mandir)/man1/R.1 $(DESTDIR)$(mandir)/man1/Rscript.1
dvi info pdf::
@(cd manual && $(MAKE) $@)
......
......@@ -57,21 +57,21 @@ FORCE:
install: svnonly install-message installdirs install-sources
@for f in $(OBJECTS); do \
$(INSTALL_DATA) $${f} "$(rdocdir)/html"; \
$(INSTALL_DATA) $${f} "$(DESTDIR)$(rdocdir)/html"; \
done
@for d in $(SUBDIRS); do \
(cd $${d} && $(MAKE) $@) || exit 1; \
done
@for f in $(NON_SVN_INSTFILES); do \
$(INSTALL_DATA) $${f} "$(rdocdir)/html"; \
$(INSTALL_DATA) $${f} "$(DESTDIR)$(rdocdir)/html"; \
done
installdirs:
@$(MKINSTALLDIRS) "$(rdocdir)/html"
@$(MKINSTALLDIRS) "$(DESTDIR)$(rdocdir)/html"
install-message:
@echo "installing $(subdir) ..."
install-sources:
@for f in $(INSTFILES); do \
$(INSTALL_DATA) $(srcdir)/$${f} "$(rdocdir)/html"; \
$(INSTALL_DATA) $(srcdir)/$${f} "$(DESTDIR)$(rdocdir)/html"; \
done
install-strip: install
uninstall:
......@@ -80,10 +80,10 @@ uninstall:
(cd $${d} && $(MAKE) $@); \
done
@for f in $(CLEANFILES) $(INSTFILES) $(NON_SVN_INSTFILES) $(OBJECTS); do \
rm -f "$(rdocdir)/html/$${f}"; \
rm -f "$(DESTDIR)$(rdocdir)/html/$${f}"; \
done
@rmdir "$(rdocdir)/html" 2>/dev/null \
|| echo " subdir $(subdir) not removed"
@rmdir "$(DESTDIR)$(rdocdir)/html" 2>/dev/null \
|| echo " subdir $(DESTDIR)$(subdir) not removed"
mostlyclean:
clean:
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -17,6 +17,30 @@
span.sc { font-variant:small-caps }
span.roman { font-family:serif; font-weight:normal; }
span.sansserif { font-family:sans-serif; font-weight:normal; }
body {margin-left: 5%; margin-right: 5%;}
H1{ background: white;
color: rgb(25%, 25%, 25%);
font-family: monospace;
font-size: xx-large;
text-align: center }
H2{ background: white;
color: rgb(40%, 40%, 40%);
font-family: monospace;
font-size: x-large;
text-align: center }
H3{ background: white;
color: rgb(40%, 40%, 40%);
font-family: monospace;
font-size: large }
span.samp{font-family: monospace}
span.command{font-family: monospace}
span.option{font-family: monospace}
span.file{font-family: monospace}
span.env{font-family: monospace}
--></style>
</head>
<body>
......
......@@ -65,21 +65,21 @@ index.txt:
install: install-message installdirs install-sources
@for f in $(OBJECTS); do \
$(INSTALL_DATA) $${f} "$(rdocdir)/html/search"; \
$(INSTALL_DATA) $${f} "$(DESTDIR)$(rdocdir)/html/search"; \
done
installdirs:
@$(MKINSTALLDIRS) "$(rdocdir)/html/search"
@$(MKINSTALLDIRS) "$(DESTDIR)$(rdocdir)/html/search"
install-message:
@echo "installing $(subdir) ..."
install-sources:
@for f in $(INSTFILES); do \
$(INSTALL_DATA) $(srcdir)/$${f} "$(rdocdir)/html/search"; \
$(INSTALL_DATA) $(srcdir)/$${f} "$(DESTDIR)$(rdocdir)/html/search"; \
done
install-strip: install
uninstall:
@echo "uninstalling $(subdir) ..."
@rm -rf "$(rdocdir)/html/search"
@rm -rf "$(DESTDIR)$(rdocdir)/html/search"
mostlyclean:
clean:
......
......@@ -85,7 +85,7 @@ edge of the status bar. For help consult the
<a href="../../manual/R-admin.html#Enabling-search-in-HTML-help">R Installation and Administration</a> manual.
</p>
<p> On Mozilla-based browsers the links on the results page will
<p> On some Mozilla-based browsers the links on the results page will
become inactive if you return to it: to work around this you can open
a link in a new tab or window.
</p>
......
......@@ -21,7 +21,7 @@ DISTFILES = \
resources.texi \
R-exts.R R-exts.c R-intro.R \
refman.top refman.bot \
ISBN
ISBN Rman.css
SUBDIRS_WITH_NO_BUILD = images
OBJECTS_DVI = $(SOURCES_TEXI:.texi=.dvi)
......@@ -30,7 +30,7 @@ OBJECTS_INFO = $(SOURCES_TEXI:.texi=.info)
OBJECTS_PDF = $(SOURCES_TEXI:.texi=.pdf)
MAKEINFO = @MAKEINFO@
MAKEINFO_HTML_OPTS = --html --no-split
MAKEINFO_HTML_OPTS = --html --no-split --css-include=$(srcdir)/Rman.css
MAKEINFO_TEXT_OPTS = --number-sections --fill-column=76 --no-split --no-headers
TEXI2HTML = $(MAKEINFO) $(MAKEINFO_HTML_OPTS)
TEXI2TEXT = $(MAKEINFO) $(MAKEINFO_TEXT_OPTS)
......@@ -236,12 +236,12 @@ R-lang.dvi: $(texiincludes)
html: $(OBJECTS_HTML)
@(cd ../html; $(MAKE) index.html)
R-admin.html: $(texiincludes)
R-data.html: $(texiincludes)
R-exts.html: $(texiincludes)
R-intro.html: $(texiincludes)
R-ints.html: $(texiincludes)
R-lang.html: $(texiincludes)
R-admin.html: $(texiincludes) $(srcdir)/Rman.css
R-data.html: $(texiincludes) $(srcdir)/Rman.css
R-exts.html: $(texiincludes) $(srcdir)/Rman.css
R-intro.html: $(texiincludes) $(srcdir)/Rman.css
R-ints.html: $(texiincludes) $(srcdir)/Rman.css
R-lang.html: $(texiincludes) $(srcdir)/Rman.css
info: $(OBJECTS_INFO)