Re: [Rd] mingw-cross with R 2.4.x Re: wine and build difference between R.2.4.0 and R 2.4.1 windows binaries?

2007-01-16 Thread Hin-Tak Leung
Hin-Tak Leung wrote: > The issue is filed as http://bugs.winehq.org/show_bug.cgi?id=7181 One of the main wine developers, Alexandre Julliard, closed the bug with a patch. I'll patch my wine and see... pretty good going to resolve a bug within a day...(if the pat

Re: [Rd] mingw-cross with R 2.4.x Re: wine and build difference between R.2.4.0 and R 2.4.1 windows binaries?

2007-01-16 Thread Hin-Tak Leung
Prof Brian Ripley wrote: > On Tue, 16 Jan 2007, Hin-Tak Leung wrote: > >> Hin-Tak Leung wrote: >> >>> The issue is filed as http://bugs.winehq.org/show_bug.cgi?id=7181 >> >> One of the main wine developers, Alexandre Julliard, closed the bug >> with

[Rd] subsetting matrix by subscript=0,x silently skips.

2007-01-18 Thread Hin-Tak Leung
(e-mailing to R-bugs is intentional - the web itnerface seems to be down) > a<- cbind(c(1,2), c(3,4)) > a [,1] [,2] [1,]13 [2,]24 > a[cbind(c(2,2), c(2,1))] [1] 4 2 > a[cbind(c(2,3), c(2,1))] Error: subscript out of bounds > a[cbind(c(2,-1), c(2,1))] Error: negative val

Re: [Rd] subsetting matrix by subscript=0,x silently skips.

2007-01-18 Thread Hin-Tak Leung
g > an NA produce an NA in the result. > > So, I think it is behaving as documented. Hmm, fair enough. I guess the NA one make sense (In R as a rule, NA in, NA out), but I am not sure I understand or agree with the rationale of silently ignoring (0,x) and (x,0)'s. Any reason for that?

Re: [Rd] Building R 2.4.1 on IRIX

2007-01-18 Thread Hin-Tak Leung
Peter Dalgaard wrote: > Atro Tossavainen wrote: >> Hi, >> >> I've got the latest MIPS compilers that are C99 aware (7.4.4). >> >> "configure" finishes with: >> >> R is now configured for mips-sgi-irix6.5 >> >> Source directory: . >> Installation directory:/afs/bi/v/@sys/apps/stats/

Re: [Rd] Cross-compile errors under R-2.4.0 and R-2.4.1

2007-01-19 Thread Hin-Tak Leung
You missed my posts (earlier this week). The subject is: "mingw-cross with R 2.4.x Re: [Rd] wine and build difference between R.2.4.0 and R 2.4.1 windows binaries?" which contains my notes on this subject. Basically you need newer mingw than on Prof Ripley's web site (i.e. you'll need to build m

Re: [Rd] pcre library in R (PR#9319)

2007-01-19 Thread Hin-Tak Leung
The usual drill: The problem is fixed in R 2.4.1 (i.e. please do not report bugs on old versions). In addition, you need newer mingw than you have. Daniel Berg wrote: > I have the same problem, trying to cross-compile. > > I'm running Ubuntu Edgy, kernel 2.6.17-10-generic, on an IBM T60. > > I d

Re: [Rd] Cross-compile errors under R-2.4.0 and R-2.4.1

2007-01-19 Thread Hin-Tak Leung
Prof Brian Ripley wrote: > The 2.4.0 issue has been well documented only last week, in the thread > > https://stat.ethz.ch/pipermail/r-help/2007-January/123303.html > > as well as in an answer I had already posted. > > I am almost certain the issue for 2.4.1 is user error. Remember you need >

Re: [Rd] Cross-compile errors under R-2.4.0 and R-2.4.1

2007-01-19 Thread Hin-Tak Leung
Simon Urbanek wrote: > > In fact, there is even one more caveat which I don't remember seeing > mentioned - it *must* be a build without r_arch set, otherwise the > cross-build fails as well (despite a correct version). I got bitten by > this recently when trying to use the OS X binary for cro

Re: [Rd] serialize() takes too long when serializing to a raw vector

2007-01-25 Thread Hin-Tak Leung
Ashish Kulkarni wrote: > Hello, > > R version 2.4.1 (2006-12-18) > i386-pc-mingw32 > > Calling serialize() with a NULL connection serializes it to a raw vector. > However, when the object to be serialized is large, it takes a very long time: > >> system.time( serialize(matrix(0, 1000, 1000), N

<    1   2   3   4