[Rd] split() bug? Inconsistent Windows/Linux behavior.

2010-05-04 Thread Jay Emerson
I didn't see anything on this in the bug reports, and a search of the archives had lots of false positives when searching on split to be helpful. I don't view this as particularly interesting or useful, but wanted to report it because I stumbled on it (and don't remember ever seeing invalid

Re: [Rd] split() bug? Inconsistent Windows/Linux behavior.

2010-05-04 Thread Matt Shotwell
This is odd, I think it may have something to do with this f - interaction(list(iris[,1], iris[,2])) f[16] [1] NA unclass(f)[16] [1] 785 nlevels(f) [1] 781 Maybe do_split dereferencing beyond allocated memory? interaction(list(iris[,1], iris[,2]), sep=-) does not produce NA at index 16

Re: [Rd] split() bug? Inconsistent Windows/Linux behavior.

2010-05-04 Thread Duncan Murdoch
On 04/05/2010 6:45 PM, Matt Shotwell wrote: This is odd, I think it may have something to do with this Yes, it's definitely a bug in interaction() rather than split() per se. I'll take a look and see if I can fix it. Duncan Murdoch f - interaction(list(iris[,1], iris[,2])) f[16]

Re: [Rd] split() bug? Inconsistent Windows/Linux behavior.

2010-05-04 Thread Duncan Murdoch
This is now fixed in R-devel (revision 51908), and R-patched (r51909). Thanks Jay for the nice reproducible example, and thanks Matt for localizing it to the interaction() function. Duncan Murdoch On 04/05/2010 4:37 PM, Jay Emerson wrote: I didn't see anything on this in the bug reports,

Re: [Rd] R 2.11.0 on RHEL5

2010-05-04 Thread Chuck White
Thank you for your response. I did look in the suggested manual under A.3.1.5 Shared BLAS. Here are my steps: compiled R using --with-readline=yes --enable-R-shlib=yes --enable-BLAS-shlib=yes --with-x=yes --prefix=/usr/local/R-2.11.0 Compiled LAPACK first and then ATLAS using