[Rd] "evaluating expression 0" bug in R-1.4.1 (PR#1385)

eneafse@lumc.edu eneafse@lumc.edu
Thu, 14 Mar 2002 21:05:43 +0100 (MET)

Full_Name: Edward J. Neafsey 
Version: 1.4.1
OS: linux
Submission from: (NULL) (

R-1.4.1 failed to finish compiling building package `methods', as seen in
output from make below.
Make output:
../../../library/methods/man/methods.Rd is unchanged
make[4]: Entering directory `/usr/src/SOURCES/R-1.4.1/src/library/methods/src'
make[5]: Entering directory `/usr/src/SOURCES/R-1.4.1/src/library/methods/src'
make[5]: `Makedeps' is up to date.
make[5]: Leaving directory `/usr/src/SOURCES/R-1.4.1/src/library/methods/src'
make[5]: Entering directory `/usr/src/SOURCES/R-1.4.1/src/library/methods/src'
../../../../library/methods/libs/methods.so is unchanged
make[5]: Leaving directory `/usr/src/SOURCES/R-1.4.1/src/library/methods/src'
make[4]: Leaving directory `/usr/src/SOURCES/R-1.4.1/src/library/methods/src'
make[4]: Entering directory `/usr/src/SOURCES/R-1.4.1/src/library/methods'
dumping R code in package `methods'
Error: syntax error: evaluating expression 0
Execution halted
make[4]: *** [../../../library/methods/R/all.rda] Error 1
make[4]: Leaving directory `/usr/src/SOURCES/R-1.4.1/src/library/methods'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/SOURCES/R-1.4.1/src/library/methods'
make[2]: *** [R] Error 1
make[2]: Leaving directory `/usr/src/SOURCES/R-1.4.1/src/library'
make[1]: *** [R] Error 1
make[1]: Leaving directory `/usr/src/SOURCES/R-1.4.1/src'
make: *** [R] Error 1 

When I examined things further, it became clear problem was in new R.bin 
file, since after exporting the proper value for R_HOME, running just R.bin
by itself caused the same "evaluating expression 0" error, as seen below.
R.bin by itself output
[/usr/src/SOURCES/R-1.4.1/bin]# export R_HOME=/usr/src/SOURCES/R-1.4.1
[/usr/src/SOURCES/R-1.4.1/bin]# ./R.bin

R : Copyright 2002, The R Development Core Team
Version 1.4.1 Patched (2002-03-13)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type `license()' or `licence()' for distribution details.

R is a collaborative project with many contributors.
Type `contributors()' for more information.

Type `demo()' for some demos, `help()' for on-line help, or
`help.start()' for a HTML browser interface to help.
Type `q()' to quit R.

Error: syntax error: evaluating expression 0
Error: syntax error: evaluating expression 0

This happened even if run with --vanilla.  Interestingly, removing the 
Rprofile file removed one of the two "Error: syntax error:..." messages.

I have been successfully compiling R through a number of versions, and
this is first time I have had a real problem.

Thanks for R.

E.J. Neafsey

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