From p.dalgaard@biostat.ku.dk  Thu Mar 14 22:35:14 2002
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: 14 Mar 2002 23:35:14 +0100
Subject: [Rd] "evaluating expression 0" bug in R-1.4.1 (PR#1385)
In-Reply-To: <200203142005.VAA08230@pubhealth.ku.dk>
References: <200203142005.VAA08230@pubhealth.ku.dk>
Message-ID: <x2it7ypyl9.fsf@blueberry.kubism.ku.dk>

eneafse@lumc.edu writes:

> Full_Name: Edward J. Neafsey 
> Version: 1.4.1
> OS: linux

Which 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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


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