Re R-beta: 0.61.3: Problems on DEC Unix 4.0

David Barber david at ohiolink.edu
Fri May 8 21:46:12 CEST 1998


I have been playing around with compiling R using cc some more this
afternoon.  

I fixed the newline problem in graphics.c by combining the statement
into one line, eliminating the newlines in the middle of the statement.

This then got me to another problem.  The compile failed because 
readline.h was to be included in unix/system.c   This problem apparently
occurs because of the definition of HAVE_READLINE in Platform.h.
That file appears to be generated by the ./configure script, so the problem
must be the way that this script has been written.

After I commented out this definition, everything compiles fine but now I
get the error message 
 
Error in paste("echo $", i, sep = "") : negative length vectors are not
allowed

when I start the program and when I try to run the demos.  I have not
yet looked for the cause of this problem.   Can anyone suggest a place
to look?

David Barber

----------
> From: Albrecht Gebhardt <albrecht.gebhardt at uni-klu.ac.at>
> To: R-help at stat.math.ethz.ch
> Subject: Re: Re R-beta: 0.61.3: Problems on DEC Unix 4.0
> Date: Friday, May 08, 1998 2:30 PM
> 
> On Fri, 8 May 1998, David Barber wrote:
> 
> > I had the same problem when I compiled on my Alpha last week.  The
error
> > disappeared when I edited the source to join the line with the
following
> > parts
> > of the statement to make it all one long line.  Then cc did not
complain.  
> > cc does not seem to like the division of the statement into multiple
lines.
> > If my memory serves me right, after that problem disappeared, most of
the
> > software compiled okay until I got an error related to the compiler not
> > being
> > able to find readline.h.   
> > 
> > These errors made me think I should be compiling with gcc.  I went back

> > and compiled with gcc.   Everything compiled beautifully, but when I
> > started
> > R I got a core dump and a statement about a floating point exception. 
> 
> I had the same problems with R and gcc on the Alpha with earlier
> versions. If I remember right, it's because of lacking IEEE-arithmetic in
> gcc. So may be you have no chance to get a working version with gcc. 
>  
> After my trouble with R 0.61.3 I´m now using R 0.61.1 again.
> This is the last version which runs without problems on the Alpha
> (compiled with cc, not gcc!)
> 
> 
> Albrecht
> 
>
----------------------------------------------------------------------------
--
> Albrecht Gebhardt          email: albrecht.gebhardt at uni-klu.ac.at
> Institut fuer Mathematik   Tel. : (++43 463) 2700/837
> Universitaet Klagenfurt    Fax  : (++43 463) 2700/834
> Villacher Str. 161         WWW  : http://www-stat.uni-klu.ac.at/~agebhard
> A-9020 Klagenfurt, Austria
>
----------------------------------------------------------------------------
--
> 
> 
> 
> 
>
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
-.-
> r-help 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-help-request at stat.math.ethz.ch
>
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
_._

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list