[R] Build problems on Windows with fpTeX and MiKTeX

Prof Brian Ripley ripley at stats.ox.ac.uk
Sun Mar 28 14:10:56 CEST 2004


The fptex problem has been reported as happening on Unix too.  Rd.sty was
changed a little while ago, *but only* in 1.9.0 AFAIK.  Does 1.8.1 patched
not work?  I have no problem with fptex, and presume Duncan M does not 
either, as he is distributing binaries of 1.9.0 beta.

My color.cfg is 1.0 from TeXLive rather than 1.1 and contains

\ifcase\x
  % default case
  \ExecuteOptions{dvips}%
\or
  % pdfTeX is running in pdf mode
  \ExecuteOptions{pdftex}%
\else
  % VTeX is running
  \ExecuteOptions{vtex}%
\fi

so I guess yours has been modified incorrectly (e.g. for use with MikTeX?)

It looks like your MikTeX is broken.

In any case, you don't need LaTeX to build packages, so what exactly were 
you trying to do?  Check them?


On Sun, 28 Mar 2004, Erich Neuwirth wrote:

> Recently,
> I upgraded MiKTeX to the latest versions, and since then there are 
> problems when I try to build R and/or R packages.
> I tried to build R 1.9.0 beta and R 1.8.1 patched

The date of the beta is crucial.

> I am running Windows XP Pro, SP 1
> MikTeX version is
> This is e-TeX, Version 3.141592-2.1 (MiKTeX 2.4)
> (preloaded format=latex 2004.3.27)
> 
> fpTeX version is
> This is e-TeXk, Version 3.141592-2.1 (Web2c 7.5.2)
> (format=latex 2004.3.23)  27 MAR 2004 21:58
> 
> With MiKTeX, it is not possible any more
> do build documentation  either for R itself or for packages,
> I get the following error
> 
> ! LaTeX Error: Command \middle already defined.
>                 Or name \end... illegal, see p.192 of the manual.
> 
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>   ...
> 
> l.45 \newlength{\middle}
> 
> 
> With fpTeX, I can build R itself, but when I try to build packages,
> I get
> 
> 
> (c:/Program Files/TeXLive/texmf/tex/latex/graphics/color.sty
> Package: color 1999/02/16 v1.0i Standard LaTeX Color (DPC)
> 
> (c:/Program Files/TeXLive/texmf/tex/latex/texlive/color.cfg
> File: color.cfg 2001/08/31 v1.1 color configuration of teTeX/TeXLive
> )
> 
> ! Package color Error: No driver specified.
> 
> See the color package documentation for explanation.
> Type  H <return>  for immediate help.
>   ...
> 
> l.123      }
> 
> You should make a default driver option in a file
> color.cfg
> eg: \ExecuteOptions{dvips}
> 
> )
> 
> Both versions of TeX are installed the standard way,
> without changes (except adding a few local LaTeX style files).
> 
> 
> Is this happening to anybody else?
> 
> 
> 
> 

-- 
Brian D. Ripley,                  ripley at 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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list