Skip to content
Prev 40455 / 63424 Next

Cases of TAB-completion that hang Rterm

FYI,

via a bug report of one of my packages, I discovered that the
following cases will hang Rterm when using TAB completion:

CASE #1:
Adding an empty default function for tail() causes Rterm on Windows to
hang if one press TAB at the prompt:

% Rterm -vanilla
Error in specialOpLocs(text) :
  (list) object cannot be coerced to type 'double'

After this Rterm becomes completely unresponsive.  The same error
message will show up with Rgui, but R remains responsive.


CASE #2:
While troubleshooting the above, I discovered that if one does:
or
then Rterm hangs too (not Rgui).

This happens with R v2.13.0 patched (2011-05-30 r56020) and R v2.14.0
devel (2011-05-30 r56020) on Windows.

/Henrik