[R] R 1.9.0 on AIX, 64-bit

Tim Hoar thoar at cgd.ucar.edu
Mon May 10 19:25:31 CEST 2004


So --

I am getting the same thing - as far as the base-Ex.Rout.fail --
did undefining HAVE_WORKING STRPTIME  fix the problem?

Despite using the suggestions on page 21 of the install guide,
I cannot seem to find the set of options necessary for dynamic linking.
I am loading with xlc, MAIN_LDFLAGS = -brtl and SHLIB_LDFLAGS = -G

and still get the dreaded:

"> library(SparseM)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
        unable to load shared library
"/home/blackforest/thoar/R/R-1.9.0/library/SparseM/libs/SparseM.so":

Error in library(SparseM) : .First.lib failed"


I need to compile in 64 bit mode so I can access more than 2GB of memory.
(so my CFLAGS, FFLAGS, LD_FLAGS  all have extra baggage)
Have you done this?  If you have -- would you care to share your environment
variable settings as well as your call to configure? (exists in config.log)
I'm getting pretty frustrated with this.

I am stepping back to see if I can get the 32bit compile to accept the dynamic
loading - so anything would help.

Thanks -- Tim


> Date: Mon, 03 May 2004 08:27:47 -0400
> From: Andy Pierce <apierce at stny.rr.com>
> To: r-help at stat.math.ethz.ch
> Subject: [R] R 1.9.0 on AIX, 64-bit
>
> I'm trying to get R 1.9.0 running on AIX 5.1 with the standard AIX
> compilers (xlc, xlf) and it is failing 2 of the tests,
> test-Reg in reg-tests-1.R like this:
>
> bash-2.05b$ tail -30 reg-tests-1.Rout.fail
>       [,1] [,2]
> [1,] 1    3
> [2,] 2    4
> [3,] 1    3
> [4,] 2    4
>  > stopifnot(typeof(res) == "list")
>  > ## were not implemented in 1.8.1
>  >
>  >
>  > ## Date objects with NA's
>  > (t1 <- strptime(c("6. Aug. 1930", "3. Nov. 1925", "28. Mar. 1959",
> +                  NA, paste(1:29," Feb. 1960", sep=".")),
> +                format = "%d. %b. %Y"))
>   [1] "1930-08-06" "1925-11-03" "1959-03-28" NA           "1960-02-01"
>   [6] "1960-02-02" "1960-02-03" "1960-02-04" "1960-02-05" "1960-02-06"
> [11] "1960-02-07" "1960-02-08" "1960-02-09" "1960-02-10" "1960-02-11"
> [16] "1960-02-12" "1960-02-13" "1960-02-14" "1960-02-15" "1960-02-16"
> [21] "1960-02-17" "1960-02-18" "1960-02-19" "1960-02-20" "1960-02-21"
> [26] "1960-02-22" "1960-02-23" "1960-02-24" "1960-02-25" "1960-02-26"
> [31] "1960-02-27" "1960-02-28" "1960-02-29"
>  > stopifnot(6 == length(print(s1 <- summary(t1))),
> +           s1== summary(as.POSIXct(t1)),
> +           6 == length(print(format(as.Date(s1)))) )
>     Min. 1st Qu.  Median    Mean 3rd Qu.    Max.
>       NA      NA      NA      NA      NA      NA
>     Min. 1st Qu.  Median    Mean 3rd Qu.    Max.
>       NA      NA      NA      NA      NA      NA
> Error in if (!(is.logical(r <- eval(ll[[i]])) && all(r)))
> stop(paste(deparse(mc[[i +  :
>          missing value where TRUE/FALSE needed
> Execution halted
>
> and also in base-Ex.R like this:
>
> bash-2.05b$ tail base-Ex.Rout.fail
>  > ### Title: Generate Regular Sequences of Dates
>  > ### Aliases: seq.Date
>  > ### Keywords: manip chron
>  >
>  > ### ** Examples
>  >
>  > ## first days of years
>  > seq(as.Date("1910/1/1"), as.Date("1999/1/1"), "years")
> Error in fromchar(x) : character string is not in a standard unambiguous
> format
> Execution halted
>
> Does anyone have any ideas on how to fix this?
>
> Andy Pierce
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

## Tim Hoar, Associate Scientist              email: thoar at ucar.edu     ##
## Geophysical Statistics Project             phone: 303-497-1708       ##
## National Center for Atmospheric Research   FAX  : 303-497-1333       ##
## Boulder, CO  80307                    http://www.cgd.ucar.edu/~thoar ##




More information about the R-help mailing list