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

David Barber (david@ohiolink.edu)
Fri, 8 May 1998 15:46:12 -0400


Message-Id: <199805081945.PAA07162@ohiolink.edu>
From: "David Barber" <david@ohiolink.edu>
To: <R-help@stat.math.ethz.ch>
Subject: Re: Re R-beta: 0.61.3: Problems on DEC Unix 4.0
Date: Fri, 8 May 1998 15:46:12 -0400

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

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=20
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 probl=
em
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=20
=20
Error in paste("echo $", i, sep =3D "") : 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@uni-klu.ac.at>
> To: R-help@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
>=20
> On Fri, 8 May 1998, David Barber wrote:
>=20
> > 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. =20
> > 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 n=
ot
> > being
> > able to find readline.h.  =20
> >=20
> > These errors made me think I should be compiling with gcc.  I went ba=
ck

> > 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.=
=20
>=20
> 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.=20
> =20
> After my trouble with R 0.61.3 I=B4m now using R 0.61.1 again.
> This is the last version which runs without problems on the Alpha
> (compiled with cc, not gcc!)
>=20
>=20
> Albrecht
>=20
>
-------------------------------------------------------------------------=
---
--
> Albrecht Gebhardt          email: albrecht.gebhardt@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/~agebha=
rd
> A-9020 Klagenfurt, Austria
>
-------------------------------------------------------------------------=
---
--
>=20
>=20
>=20
>=20
>
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-=
..-.
-.-
> 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@stat.math.ethz.c=
h
>
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._=
.._.
_._

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._