[Rd] Rmpi on Fedora 8

2008-08-01 Thread Prof Brian Ripley
A yum update to lam 7.1.4 (from 7.1.2) broke Rmpi for me this last week and quite a few changes were needed to repair this, so I'm reporting here in case it helps others. This was an x86_64 system - adjust 'lib64' suitably for 32-bit systems. There seems to me to be major organizational chang

[Rd] importing explicitly declared missing values in read.spss (foreign)

2008-08-01 Thread Jeroen Ooms
There is a problem when importing an spss-file containing explicitly declared missing values in R using the read.spss function from the foreign package. I'm not sure these problems are the same in every version of spss, I am using the latest version 16.0.2. I included http://www.nabble.com/file/

[Rd] 4-int indexing limit of R {Re: [R] allocMatrix limits}

2008-08-01 Thread Martin Maechler
[[Topic diverted from R-help]] > "VK" == Vadim Kutsyy <[EMAIL PROTECTED]> > on Fri, 01 Aug 2008 07:35:01 -0700 writes: VK> Martin Maechler wrote: >> VK> The problem is in array.c, where allocMatrix check for VK> "if ((double)nrow * (double)ncol > INT_MAX)". But w

Re: [Rd] 4-int indexing limit of R {Re: [R] allocMatrix limits}

2008-08-01 Thread Vadim Kutsyy
Martin Maechler wrote: [[Topic diverted from R-help]] Well, fortunately, reasonable compilers have indeed kept 'long' == 'long int' to mean 32-bit integers ((less reasonable compiler writers have not, AFAIK: which leads of course to code that no longer compiles correctly when originally i

Re: [Rd] 4-int indexing limit of R {Re: [R] allocMatrix limits}

2008-08-01 Thread Martin Maechler
> "VK" == Vadim Kutsyy <[EMAIL PROTECTED]> > on Fri, 01 Aug 2008 10:22:43 -0700 writes: VK> Martin Maechler wrote: >> [[Topic diverted from R-help]] >> >> Well, fortunately, reasonable compilers have indeed kept >> 'long' == 'long int' to mean 32-bit integers ((les

Re: [Rd] data.matrix (was sapply(Date, is.numeric))

2008-08-01 Thread Prof Brian Ripley
I've committed a more liberal version to R-devel. (It even handles S4 classes with an as() method.) On Thu, 31 Jul 2008, Martin Maechler wrote: "PBR" == Prof Brian Ripley <[EMAIL PROTECTED]> on Thu, 31 Jul 2008 08:36:22 +0100 (BST) writes: PBR> I've now committed fixes in R-patched a