Re R-beta: 0.61.3: Problems on DEC Unix 4.0
David Barber
david at ohiolink.edu
Fri May 8 16:39:22 CEST 1998
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
have
not had time to investigate this problem. If anyone knows of a solution
please
let me know. If I do not hear of a solution, I plan to try to recompile
this
weekend with the -g option and then try to find out what is causing the
exception. But I would prefer that someone else tell me how to fix the
problem.
David Barber
OhioLINK
----------
> From: laimonis kavalieris <laimonis at chance.otago.ac.nz>
> To: r-help at stat.math.ethz.ch
> Cc: agebhard at zidsrv.sci.uni-klu.ac.at
> Subject: Re R-beta: 0.61.3: Problems on DEC Unix 4.0
> Date: Thursday, May 07, 1998 6:50 PM
>
>
> > I had some trouble compiling the new R version on my Alpha:
> >
> > make[2]: Entering directory `/usr2/local/R/src/graphics'
> > cc -ieee_with_inexact -O -Olimit 2000 -I/usr/local/include -I../include
-c
> > gdevice.c
> > cc -ieee_with_inexact -O -Olimit 2000 -I/usr/local/include -I../include
-c
> > graphics.c
> > cc: Error: graphics.c, line 808: An unexpected newline character is
present in a
> > string literal.
> > printf("Gpretty(%g,%g,%d): cell=%g, ndiv= %d
<=0;\t\t(ns,nu)=(%d,%d);
> > -----------------^
> >
> > ...
> >
> > It seems that my DEC cc does not understand strings that fill two
lines.
> >
> > The solution to this is to join the lines 808 and 809 of src/graphics.c
> > into one line.
> >
> I run Digital UNIX 4.0A
> The above error arises with the following compiler flags
> cc -ieee_with_inexact -g -I../include
> The same solution also applies.
>
>
> >
> > There is another problem with paste(): it did not work anymore:
> >
> > > paste("a","b")
> > Error: memory exhausted
> >
>
> > Has anyone else other experiences with R-0.61.3 on a DEC Alpha?
>
> I do not have your problem -- when I run R I get:
>
> R : Copyright 1998, Robert Gentleman and Ross Ihaka
> Version 0.61.3 (May 3, 1998)
>
> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type "license()" for details.
>
> Type "demo()" for some demos, "help()" for on-line help, or
> "help.start()" for a HTML browser interface to help.
>
> Error in paste("echo $", i, sep = "") : negative length vectors are not
allowed
> >
> >
> > paste("a","b")
> Error in paste("a", "b") : negative length vectors are not allowed
> > 1:10
> [1] 1 2 3 4
>
> This is not good!?
>
> > 10:1
> [1] 10 9 8 7
>
> At least it is consistent!!
>
> > > help(ls)
> Error: Object ".lib.loc" not found
> > x11()
> Error in if (is.na(match(paper, c("none", "a4", "letter"))))
stop("unsupported paper size in
> x11") : missing value where logical needed
> >
>
> It seems that some of the environment variables are not set.
>
> ...?
>
>
> Laimonis Kavalieris
> Mathematics and Statistics
> University of Otago
> Dunedin
> New Zealand
>
>
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
-.-
> 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