Re R-beta: 0.61.3: Problems on DEC Unix 4.0
laimonis kavalieris
laimonis at chance.otago.ac.nz
Fri May 8 00:50:43 CEST 1998
> 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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list