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.
-J
Possible Latex problem in R-devel?
7 messages · Brian Ripley, Jeff Gentry, Peter Dalgaard +1 more
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
What version of perl?
Ack, didn't realize it was this ancient. Version 5.005_03, which is what comes with FreeBSD 4.9 apparently. I did install the /usr/ports version of perl is 5.8.2, although there seems to be other problems here (which are most likely related to my system, will track that down before bringing that issue up - it appears to be a mismatch on my libraries between the two versions).
print $latexout &latex_link_trans0($blocks{"name"});
will probably solve it for you.
Yup, this works, thanks.
On Mon, 23 Aug 2004, Jeff Gentry wrote:
What version of perl?
Ack, didn't realize it was this ancient. Version 5.005_03, which is what comes with FreeBSD 4.9 apparently. I did install the /usr/ports version of perl is 5.8.2, although there seems to be other problems here (which are most likely related to my system, will track that down before bringing that issue up - it appears to be a mismatch on my libraries between the two versions).
Yes, that version of perl has a lot of bugs, but in theory we support it. (It seems worse than either 5.004 or 5.005_04.)
print $latexout &latex_link_trans0($blocks{"name"});
will probably solve it for you.
Yup, this works, thanks.
I've changed the sources, to be defensive. I don't like reading Perl like that, but it does work more portably.
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
Prof Brian Ripley <ripley@stats.ox.ac.uk> writes:
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.
RedHat 8 is actually on 5.8.0 and is affected by this nit. Could we fix it in the sources? Would be nice if it doesn't turn into yet another must-upgrade-this-tool for developers.
O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907
Peter Dalgaard <p.dalgaard@biostat.ku.dk> writes:
Prof Brian Ripley <ripley@stats.ox.ac.uk> writes:
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.
RedHat 8 is actually on 5.8.0 and is affected by this nit. Could we fix it in the sources? Would be nice if it doesn't turn into yet another must-upgrade-this-tool for developers.
Looks like Brian flew back in his time machine and responded to my request an hour or two before I stated it...
O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907
"BDR" == Prof Brian Ripley <ripley@stats.ox.ac.uk>
on Mon, 23 Aug 2004 21:14:44 +0100 (BST) writes:
BDR> On Mon, 23 Aug 2004, Jeff Gentry wrote:
>> > What version of perl?
>>
>> Ack, didn't realize it was this ancient. Version 5.005_03, which is what
>> comes with FreeBSD 4.9 apparently. I did install the /usr/ports version
>> of perl is 5.8.2, although there seems to be other problems here (which
>> are most likely related to my system, will track that down before bringing
>> that issue up - it appears to be a mismatch on my libraries between the
>> two versions).
BDR> Yes, that version of perl has a lot of bugs, but in theory we support it.
BDR> (It seems worse than either 5.004 or 5.005_04.)
>> > print $latexout &latex_link_trans0($blocks{"name"});
>> > will probably solve it for you.
>>
>> Yup, this works, thanks.
BDR> I've changed the sources, to be defensive. I don't like reading Perl
BDR> like that, but it does work more portably.
I'm glad for the change.
Our redhat enterprise version of perl (5.8.0) also couldn't deal
with the other syntax.
Martin