[Rd] AIX testers needed

2007-03-29 Thread Prof Brian Ripley
With much thanks to Ei-ji Nakama, R 2.5.0 alpha supports building on AIX (at least AIX 5.2 on one system). Would anyone able to test this please get the latest tarball from http://cran.r-project.org/src/base-prerelease/R-latest.tar.gz and try installing (after reading the AIX notes in

Re: [Rd] (PR#9589) 'union' does not handle factors while 'intersect'

2007-03-29 Thread ripley
This is not a bug, nor is the subject line true: both do accept factors but what they do with factors is undocumented. From the help (not 'man') page Performs *set* union, intersection, (asymmetric!) difference, equality and membership on two vectors.

Re: [Rd] (PR#9578) rbind.data.frame reacts on levels without factor

2007-03-29 Thread prechelt
Brian wrote: In your data frames, 'y' is a category ... The behaviour is compatible with S apart from the comment in=20 the R help=20 page. That categories are promoted to factors is consistent=20 with the help for 'category'. I have been around S and R for about 10 years, but had never

Re: [Rd] Bridging R to OpenOffice

2007-03-29 Thread Barry Rowlingson
Kevin B. Hendricks wrote: As I remember, I think someone has built an interface from Gnumeric to R if I am not mistaken. That project if it is still alive might provide a nice model of how to interface from a spreadsheet to R without lots of GUI front end stuff being needed. As I

[Rd] Error building R-alpha (from 28-Mar-07, r40918)

2007-03-29 Thread Sean Davis
This could easily be my fault, but I don't see the same issue with r40902, so I am posting here: % uname -a Linux pressa 2.6.18.8-0.1-default #1 SMP Fri Mar 2 13:51:59 UTC 2007 x86_64 x86_64 x86_64 GNU/Linux % gcc -v gcc version 4.1.2 20061115 (prerelease) (SUSE Linux) On a fresh download of

[Rd] zlib+shlib issue with the official EL4 R binary

2007-03-29 Thread Hin-Tak Leung
Hi, I have got a curious issue with an R package which uses zlib, against the official binary here: http://cran.r-project.org/bin/linux/redhat/el4/i386/R-2.4.1-1.rh4AS.i386.rpm on a Redhat EL4 i686 system. The problem is that at the end of reading a gzip'ed file within my C code, gzgetc()

Re: [Rd] zlib+shlib issue with the official EL4 R binary

2007-03-29 Thread Prof Brian Ripley
I presume you are talking about RPMs built with --with-system-zlib? That's not recommended in the R-admin manual, and perhaps you can persuade Martyn Plummer not to do it. On Thu, 29 Mar 2007, Hin-Tak Leung wrote: Hi, I have got a curious issue with an R package which uses zlib, against

Re: [Rd] zlib+shlib issue with the official EL4 R binary

2007-03-29 Thread Prof Brian Ripley
On Thu, 29 Mar 2007, Prof Brian Ripley wrote: I presume you are talking about RPMs built with --with-system-zlib? That's not recommended in the R-admin manual, and perhaps you can persuade Martyn Plummer not to do it. I've checked, and he no longer does so, sorry. So there is a zlib inside

Re: [Rd] zlib+shlib issue with the official EL4 R binary

2007-03-29 Thread Hin-Tak Leung
Prof Brian Ripley wrote: I presume you are talking about RPMs built with --with-system-zlib? That's not recommended in the R-admin manual, and perhaps you can persuade Martyn Plummer not to do it. Not quite - the problematic option seems to be --enable-R-shlib which the official RPM was

Re: [Rd] Suggestion for memory optimization and as.double() with friends

2007-03-29 Thread Seth Falcon
Prof Brian Ripley [EMAIL PROTECTED] writes: The usual 'trick' to avoid this copy is storage.mode(x) - double Hmm, this does not appear to avoid the copy for me. Using R 2.5.0 alpha r40916 I get: x - 1:10 * 2.3 names(x)=LETTERS[1:10] storage.mode(x) [1] double

Re: [Rd] zlib+shlib issue with the official EL4 R binary

2007-03-29 Thread Hin-Tak Leung
Prof Brian Ripley wrote: On Thu, 29 Mar 2007, Prof Brian Ripley wrote: I presume you are talking about RPMs built with --with-system-zlib? That's not recommended in the R-admin manual, and perhaps you can persuade Martyn Plummer not to do it. I've checked, and he no longer does so,

Re: [Rd] zlib+shlib issue with the official EL4 R binary

2007-03-29 Thread Prof Brian Ripley
On Thu, 29 Mar 2007, Hin-Tak Leung wrote: Prof Brian Ripley wrote: On Thu, 29 Mar 2007, Prof Brian Ripley wrote: I presume you are talking about RPMs built with --with-system-zlib? That's not recommended in the R-admin manual, and perhaps you can persuade Martyn Plummer not to do it.

Re: [Rd] R4.1: seq.POSIXt, tz=AEST (PR#9572)

2007-03-29 Thread ripley
I think I have managed to track this down, but only by setting a Windows box to that timezone via the control panel. One cannot set a timezone in Windows to one with Australian DST settings, and according to my Linux machine you were in DST on 1968-02-28. That's the problem as we compare 1968

Re: [Rd] zlib+shlib issue with the official EL4 R binary

2007-03-29 Thread Hin-Tak Leung
Prof Brian Ripley wrote: On Thu, 29 Mar 2007, Hin-Tak Leung wrote: Prof Brian Ripley wrote: On Thu, 29 Mar 2007, Prof Brian Ripley wrote: I presume you are talking about RPMs built with --with-system-zlib? That's not recommended in the R-admin manual, and perhaps you can persuade

[Rd] ansari.test.default: bug in call to uniroot?

2007-03-29 Thread Stephen Weigand
A recent message on ansari.test() prompted me to play with the examples. This doesn't work for me in R version 2.4.1 R ansari.test(rnorm(100), rnorm(100, 0, 2), conf.int = TRUE) Error in uniroot(ab, srange, tol = 1e-04, zq = qnorm(alpha/2, lower = FALSE)) : object ab not found It looks

Re: [Rd] Suggestion for memory optimization and as.double() with friends

2007-03-29 Thread Simon Urbanek
Seth, good point. I think we should be able to do better... On Mar 29, 2007, at 10:57 AM, Seth Falcon wrote: Prof Brian Ripley [EMAIL PROTECTED] writes: The usual 'trick' to avoid this copy is storage.mode(x) - double Hmm, this does not appear to avoid the copy for me. Using R 2.5.0

Re: [Rd] ansari.test.default: bug in call to uniroot?

2007-03-29 Thread Prof Brian Ripley
Yes, thanks, an obvious typo and I will fix shortly. On Thu, 29 Mar 2007, Stephen Weigand wrote: A recent message on ansari.test() prompted me to play with the examples. This doesn't work for me in R version 2.4.1 R ansari.test(rnorm(100), rnorm(100, 0, 2), conf.int = TRUE) Error in

Re: [Rd] Developer work cycle

2007-03-29 Thread Mark.Bravington
Couple of quick points: FYI1: the 'mtrace' function in the 'debug' package does let you trace hidden S3 methods (though it lacks the edit= argument). FYI2: In my own alpha-version of 'mvbutils', I am able to do live edits of code in (selected) installed packages, including adding deleting

Re: [Rd] Rmpi and OpenMPI ?

2007-03-29 Thread Ei-ji Nakama
Prof. Nakano(ism Japan) and I wrestled in Rmpi on HP-MPI. Do not know a method to distinguish MPI well? It is an ad-hoc patch at that time as follows. diff -ruN Rmpi.orig/configure Rmpi/configure --- Rmpi.orig/configure 2006-10-12 23:47:03.0 +0900 +++ Rmpi/configure 2007-01-10