From ripley at stats.ox.ac.uk  Mon Aug 23 20:22:37 2004
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Mon Aug 23 20:22:43 2004
Subject: [Rd] Possible Latex problem in R-devel?
In-Reply-To: <Pine.SOL.4.20.0408231335340.28864-100000@santiam.dfci.harvard.edu>
Message-ID: <Pine.LNX.4.44.0408231919440.1940-100000@gannet.stats>

On Mon, 23 Aug 2004, Jeff Gentry wrote:

> I'm getting this error when installing packages w/ a checkout of R from a
> a little bit ago (23-Aug-2004, approx 1pm eastern US time):
> 
> ** help
> Bareword found where operator expected at
> /usr/home/jgentry/R/share/perl/R/Rdconv.pm line 2331, near "$latexout
> latex_link_trans0"
>         (Missing operator before latex_link_trans0?)
> 
> It isn't obvious to me what the error is, although commenting out line
> 2331 definitely causes the error to go away.

What version of perl?

It works correctly in the current 5.8.4 (it has installed all the CRAN
packages), but I think I have seen something similar in 5.8.0.  Making
that

    print $latexout &latex_link_trans0($blocks{"name"});

will probably solve it for you.

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


[Rd] Possible Latex problem in R-devel?
Prof Brian Ripley