[Rd] Possible bug in edit(x) for editing matrices [tested on a Mac]

2011-12-19 Thread Hans-Jörg Bibiko
Hi, it seems there's a possible bug in edit(x) if x is a matrix filled with NA only. To reproduce please do the following: a - matrix() edit(a) change e.g. the cell value to 1 and close the GUI-based editor. edit(a) returns NA. This also happens for any dimension of the matrix as long as all

Re: [Rd] Possible bug in edit(x) for editing matrices [tested on a Mac]

2011-12-19 Thread Prof Brian Ripley
On 19/12/2011 09:48, Hans-Jörg Bibiko wrote: Hi, it seems there's a possible bug in edit(x) if x is a matrix filled with NA only. It's as documented. Hint: look at mode(a) or str(a), and check what values are accepted for a logical matrix. To reproduce please do the following: a-

Re: [Rd] Possible bug in edit(x) for editing matrices [tested on a Mac]

2011-12-19 Thread Hans-Jörg Bibiko
On 19 Dec 2011, at 12:22, Prof Brian Ripley wrote: it seems there's a possible bug in edit(x) if x is a matrix filled with NA only. It's as documented. Hint: look at mode(a) or str(a), and check what values are accepted for a logical matrix. Thank you very much! I wasn't aware of the