eneafse@lumc.edu
2002-Mar-14 20:05 UTC
[Rd] "evaluating expression 0" bug in R-1.4.1 (PR#1385)
Full_Name: Edward J. Neafsey Version: 1.4.1 OS: linux Submission from: (NULL) (147.126.192.93) 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 eneafse@lumc.edu -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Peter Dalgaard BSA
2002-Mar-14 22:35 UTC
[Rd] "evaluating expression 0" bug in R-1.4.1 (PR#1385)
eneafse@lumc.edu writes:> Full_Name: Edward J. Neafsey > Version: 1.4.1 > OS: linuxWhich one? Distrib./compiler set? Given the number of Linux systems among the core developers, it seems rather unlikely that R-patched would be broken on all all of them without anyone noticing... It does build OK for me.> Submission from: (NULL) (147.126.192.93) > > > R-1.4.1 failed to finish compiling building package `methods', as seen in > output from make below. > ===========================================================================> dumping R code in package `methods' > Error: syntax error: evaluating expression 0 > Execution halted...> 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. > =======================================================================... > 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.This could come from a corrupted base package. You'd have to track it down a bit further though. Binary search on the library/base/R/base file is a possibility. Or you might try sourcing the file with echo=T. Are you sure you are doing a clean build? Delete config.cache, make clean, etc. -- 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 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._