From jbonsdorff at gmail.com  Sun Nov  2 17:10:04 2008
From: jbonsdorff at gmail.com (jbonsdorff at gmail.com)
Date: Sun,  2 Nov 2008 17:10:04 +0100 (CET)
Subject: [Rd] R.app data editor crashes with empty data frame (PR#13239)
Message-ID: <20081102161004.175C6282EF48@mail.pubhealth.ku.dk>

Full_Name: Juhani Bonsdorff
Version: 2.8.0
OS: OS X Leopard 10.5.5
Submission from: (NULL) (91.153.255.102)


Installed the latest R.app (v1.26, R version 2.8.0) binary package from CRAN.
The GUI data editor crashes when applied to an empty data frame: entering

df <- edit(data.frame())

the editor opens with completely empty screen, i.e., without any column names.
Now trying to add column or row hangs the application. Sometimes the following
is written in the R Console just before the GUI hangs:

SET_VECTOR_ELT can only be applied to a 'list', not a 'NULL'.

On other occasions R hangs without any messages. In all cases force quit is the
only option to exit R.

The behaviour is not present with empty matrices: there the first default column
is visible and editor allows the addition of new rows as well as columns.



[Rd] R.app data editor crashes with empty data frame (PR#13239)
jbonsdorff at gmail.com