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

laimonis kavalieris (laimonis@chance.otago.ac.nz)
Fri, 8 May 1998 10:50:43 +1200 (NZST)


Date: Fri, 8 May 1998 10:50:43 +1200 (NZST)
From: laimonis kavalieris <laimonis@chance.otago.ac.nz>
Message-Id: <199805072250.KAA07710@chance.otago.ac.nz>
To: r-help@stat.math.ethz.ch
Subject: Re R-beta: 0.61.3: Problems on DEC Unix 4.0

Content-MD5: khWycNqw8Uaf9Rgfh2yrSw==
Sender: owner-r-help@stat.math.ethz.ch
Precedence: bulk


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