[Rd] (PR#3400)

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Jul 4 20:06:42 MEST 2003


On Fri, 4 Jul 2003 Martin.Schlather at uni-bayreuth.de wrote:

> 
> Martin Maechler asked me to restate my problem.
> 
> Compiling the file (slightly modified w.r.t. the formerly
> attached file) that can be found at
>      http://www.geo.uni-bayreuth.de/~martin/filetransfer/xswms2d.Rd
> terminates with the error message
> 
> ******* Syntax error: mismatched or missing brackets in
> /-----
>   .....
> \-----
> 
> when compiled by
>     R CMD Rdconv -t txt xswms2d.Rd
> 
> However, the file does not cause any error after deleting the
> line
>       \item{a}{4}
> (line 530), for example. This line is within the simple
> environment
>      \itemize{
>        \item{a}{1} % if this line or
>        \item{a}{2} % this line or
>        \item{a}{3} % this line or
>        \item{a}{4} % this line is deleted no error occurs
>      }
> 
> Although there might be an error in my Rd code, the

There was, BTW: you had code inside an \itemize that was in no \item.

> appearance (or not appearance) of the error message is
> surprising, and the reason for the error is not clear
> from the message.

It does look like a bug, although as the FAQ asks, please don't report
diagnoses, especially in the subject line.

-- 
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-devel mailing list