From ripley@stats.ox.ac.uk  Sun Aug 25 12:41:30 2002
From: ripley@stats.ox.ac.uk (Prof Brian D Ripley)
Date: Sun, 25 Aug 2002 12:41:30 +0100 (BST)
Subject: Inconsistent use of Perl? (PR#1937)
In-Reply-To: <15720.48046.174752.611550@bossiaea.maths.uwa.edu.au>
Message-ID: <Pine.GSO.4.44.0208251239290.16718-100000@auk.stats>

On Sun, 25 Aug 2002, Berwin Turlach wrote:

> >>>>> "BDR" == Prof Brian D Ripley <ripley@stats.ox.ac.uk> writes:
>
>   BDR> On Sat, 24 Aug 2002 berwin@maths.uwa.edu.au wrote:
>   >> [...]  But during configuration there don't seem to be any check
>   >> whether the pdflatex is recent enough.  You might want to
>   >> consider to add such a check.
>
>   BDR> Well, we would need to know which version failed.  What is
>   BDR> yours?
> 0.12h it seems.  (See below).  The hyperref package coming with that
> installation is also too old, it seems....
>
>   >> [...]  This leaves me wondering why during the base installation
>   >> Perl 5.004 (or later) is good enough for producing the `TITLE'
>   >> file but for `R CMD INSTALL' Perl 5.005 (or later) is required.
>
>   BDR> That is correct.  Most things require 5.004, a few require
>   BDR> 5.005.  Why is that a bug?
> Did I claim it was a bug? :) Anyway, from the FAQ:
>
>     If a command you are familiar with causes an R error message in a
>     case where its usual definition ought to be reasonable, it is
>     probably a bug.
>
> After installing R and knowing that `./configure' checks which Perl
> version I have, I expect to have a system that works fine and doesn't
> all of a sudden tell me that my Perl version is too old and cannot
> perform a `complete' install of addtional packages.  If part of R
> needs Perl 5.005, why don't you check for Perl 5.005?  O.k., you can

Because a few vociferous users only have 5.004.  I think we do now intend
to require 5.005 in configure.

> argue that it wasn't an error message but just a warning, or that I am
> not familiar with the command (fair enough too :-) ), but the FAQ
> continues:
>
>    If you aren't familiar with the command, or don't know for certain
>    how the command is supposed to work, then it might actually be
>    working right. Rather than jumping to conclusions, show the problem
>    to someone who knows for certain.
>
> And I did exactly the latter, labeling my report `inconsistent use of
> Perl'.  Rest assured, if I think something is a bug, then I will say
> so in the subject line. :)

Please send to R-devel not R-bugs, though.  If you submit to R-bugs, it
goes on the BUGS list and is claimed as a bug.

> Cheers,
>
>         Berwin
>
> ----- Attempt of "make pdf" -----
> absentia:/opt/R/R-1.5.1$ make pdf
> make[1]: Entering directory `/opt/R/R-1.5.1/doc'
> make[2]: Entering directory `/opt/R/R-1.5.1/doc/manual'
> PDF/LaTeX documentation: reference index ...
> This is pdfTeX, Version 3.14159-0.12h (Web2C 7.2)
> (pdftex.cfg)<acrobat.map><lw35extra_urw.map><charter.map><omega.map><utopia.map
> ><xypic.map><hoekwater.map><bsr.map><bakomaextra.map>
> LaTeX2e <1998/06/01>
> Babel <v3.6j> and hyphenation patterns for american, french, german,
> italian, n
> ohyphenation, loaded.
>
> (refman.tex (/usr/share/texmf/tex/latex/base/book.cls
> Document Class: book 1998/05/05 v1.3y Standard LaTeX document class
> (/usr/share/texmf/tex/latex/base/bk10.clo)) (../../share/texmf/Rd.sty
> (/usr/share/texmf/tex/latex/base/ifthen.sty)
> (/usr/share/texmf/tex/latex/tools/longtable.sty)
> (/usr/share/texmf/tex/latex/tools/bm.sty)
> (/usr/share/texmf/tex/latex/base/alltt.sty)
> (/usr/share/texmf/tex/latex/tools/verbatim.sty)
> (/usr/share/texmf/tex/latex/misc/url.sty) NOT loading ae
> (/usr/share/texmf/tex/latex/graphics/color.sty
> (/usr/share/texmf/tex/latex/config/color.cfg)
> (/usr/share/texmf/tex/latex/graphics/pdftex.def))
> (/usr/share/texmf/tex/latex/hyperref/hyperref.sty
> (/usr/share/texmf/tex/latex/graphics/keyval.sty)
> (/usr/share/texmf/tex/latex/hyperref/nameref.sty)
> (../../share/texmf/hyperref.cfg
>
> ! Package keyval Error: linktocpage undefined.
>
> See the keyval package documentation for explanation.
> Type  H <return>  for immediate help.
>  ...
>
> l.12 }
>
> ) (/usr/share/texmf/tex/latex/hyperref/backref.sty))
> (/usr/share/texmf/tex/latex/hyperref/hpdftex.def
> (/usr/share/texmf/tex/latex/psnfss/pifont.sty
> (/usr/share/texmf/tex/latex/psnfss/upzd.fd)
> (/usr/share/texmf/tex/latex/psnfss/upsy.fd))))
> (/usr/share/texmf/tex/latex/base/makeidx.sty)
> Writing index file refman.idx
> No file refman.aux.
> (/usr/share/texmf/tex/context/base/supp-pdf.tex
> (/usr/share/texmf/tex/context/ppchtex/supp-mis.tex
> loading : Context Support Macros / Missing
> )
> loading : Context Support Macros / PDF
> ) (refman.out) (refman.out)
> Overfull \hbox (437.54385pt too wide) in paragraph at lines 9--11
> []\OT1/cmr/m/n/10 null null null
>
>
>
>
>
> [1] [2] (version.tex) (/usr/share/texmf/tex/latex/base/omscmr.fd)
> Warning (ext1): destination with the same identifier already exists!
> Underfull \hbox (badness 10000) has occurred while \output is active
> []\OT1/cmr/m/n/10 null null null
> [1]
> Underfull \hbox (badness 10000) has occurred while \output is active
> []\OT1/cmr/m/n/10 null null null
> [1] [2] (base-pkg.tex
> Chapter 1.
>
> Underfull \hbox (badness 10000) has occurred while \output is active
> []\OT1/cmr/m/n/10 null null null
> [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16]
> [17]
> [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31]
> [32]
> [33] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46]
> [47]
> [48] [49] [50] [51]
> Underfull \hbox (badness 1789) in paragraph at lines 2686--2689
> []\OT1/cmr/m/n/10 further graph-i-cal pa-ram-e-ters
> ([][]\OT1/cmtt/m/n/10 par[]
> [][][][]\OT1/cmr/m/n/10 ) are passed to [][]\OT1/cmtt/m/n/10
> plot.window[][][](
> )[][]\OT1/cmr/m/n/10 ,
> [52] [53] [54] [55] [56] [57] [58]
> Underfull \hbox (badness 1292) in paragraph at lines 3102--3104
> []\OT1/cmr/m/n/10 Catherine Loader (2000). \OT1/cmr/m/it/10 Fast and
> Ac-cu-rate
>  Com-pu-ta-tion of Bi-no-mial Prob-a-bil-i-
> [59] [60] [61] [62] [63] [64] [65] [66] [67] [68] [69] [70]
> Overfull \hbox (14.27731pt too wide) in paragraph at lines 3707--3707
>  []    \OT1/cmtt/m/n/10 log = "", pars = NULL, frame.plot = axes,
> horizontal =
> FALSE, add = FALSE,[]
> [71] [72] [73] [74] [75] [76] [77] [78] [79] [80] [81] [82] [83] [84]
> [85]
> [86] [87] [88] [89] [90] [91] [92] [93] [94] [95] [96] [97] [98] [99]
> [100]
> [101] [102] [103] [104] [105] [106] [107] [108] [109] [110]
> Underfull \vbox (badness 10000) has occurred while \output is active
> [111]
> [112]
> Underfull \hbox (badness 2326) in paragraph at lines 5982--5984
> []\OT1/cmr/m/n/10 logical in-di-cat-ing whether axes or a box should
> be drawn,
> see
> [113] [114] [115] [116] (../../share/texmf/omscmtt.fd) [117] [118]
> [119]
> [120] [121] [122] [123] [124] [125] [126] [127] [128] [129] [130]
> [131]
> [132] [133]
> Underfull \hbox (badness 1755) in paragraph at lines 7135--7139
> [][][]\OT1/cmtt/m/n/10 print.data.frame[][][][][]\OT1/cmr/m/n/10 ,
> [][]\OT1/cmt
> t/m/n/10 read.table[][][][][]\OT1/cmr/m/n/10 , [][]\OT1/cmtt/m/n/10
> Math.data.f
> rame[][][][][] \OT1/cmr/m/n/10 etc, about \OT1/cmr/m/it/10 Group
> \OT1/cmr/m/n/1
> 0 meth-ods for
> [134] [135] [136] [137] [138] [139] [140] [141] [142] [143] [144]
> [145]
> [146] [147] [148] [149] [150] [151] [152] [153] [154] [155] [156]
> [157]
> Underfull \hbox (badness 7116) in paragraph at lines 8575--8577
> []\OT1/cmr/m/n/10 The de-fault for \OT1/cmtt/m/n/10 dev.print
> \OT1/cmr/m/n/10 i
> s to pro-duce and print a postscript copy, if
> [158] [159] [160] [161] [162] [163] [164] [165] [166] [167] [168]
> [169]
> [170] [171] [172] [173] [174] [175] [176] [177] [178] [179] [180]
> [181]
> [182] [183] [184] [185] [186] [187] [188] [189] [190] [191]
> Underfull \hbox (badness 4254) in paragraph at lines 10463--10465
> []\OT1/cmr/m/n/10 a frame in the call-ing list. Equiv-a-lent to
> giv-ing \OT1/cm
> tt/m/n/10 where \OT1/cmr/m/n/10 as
> [192] [193] [194] [195]
> ! TeX capacity exceeded, sorry [input stack size=300].
> \@inmathwarn ...latex@warning {Command \protect #1
>                                                    invalid in math
> mode}\fi
> l.10696 \alias{\$}{Extract}
>
> !  ==> Fatal error occurred, the output PDF file not finished!
> Transcript written on refman.log.
> make[2]: *** [refman.pdf] Error 1
> make[2]: Leaving directory `/opt/R/R-1.5.1/doc/manual'
> make[1]: *** [pdf] Error 2
> make[1]: Leaving directory `/opt/R/R-1.5.1/doc'
> make: [pdf] Error 2 (ignored)
> absentia:/opt/R/R-1.5.1$
>
>

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


Inconsistent use of Perl? (PR#1937)
Prof Brian D Ripley