Re: [Rd] Unexpected behaviour of x[i] when i is a matrix, on Windows

2010-02-12 Thread Wolfgang Huber
Hi Simon and Peter Ouch, I am sorry for raising this. I hadn't even considered that this basic functionality might only have entered R between 2.10 and 2.11 - and that trying to use it would not raise an error pre-2.11. The Windows PC was that of a student, which is a lame non-excuse for no

Re: [Rd] Unexpected behaviour of x[i] when i is a matrix, on Windows

2010-02-12 Thread Seth Falcon
On 2/12/10 10:12 AM, Peter Ehlers wrote: You're comparing 2.10.0 on Windows with 2.11.0 on Linux. Have you tried 2.11.0 on Windows? => same result as on Linux. Indeed, this is new functionality added to R-devel (5 Jan). Indexing an n-dim array with an n-column matrix used to only be supported

Re: [Rd] Unexpected behaviour of x[i] when i is a matrix, on Windows

2010-02-12 Thread Simon Urbanek
On Feb 12, 2010, at 12:50 , Wolfgang Huber wrote: Hi, when running the following on different instances of R (Linux and Windows), I get different results. The one for Linux seems to be the intended / documented one. When using numeric indices rather than characters, Windows seemed to beh

Re: [Rd] Unexpected behaviour of x[i] when i is a matrix, on Windows

2010-02-12 Thread Peter Ehlers
You're comparing 2.10.0 on Windows with 2.11.0 on Linux. Have you tried 2.11.0 on Windows? => same result as on Linux. -Peter Ehlers Wolfgang Huber wrote: Hi, when running the following on different instances of R (Linux and Windows), I get different results. The one for Linux seems to be th

[Rd] Unexpected behaviour of x[i] when i is a matrix, on Windows

2010-02-12 Thread Wolfgang Huber
Hi, when running the following on different instances of R (Linux and Windows), I get different results. The one for Linux seems to be the intended / documented one. When using numeric indices rather than characters, Windows seemed to behave as expected. ---On Windows--