Displaying 1 result from an estimated 1 matches for "specialoplocs".
2011 Jun 07
1
Cases of TAB-completion that hang Rterm
...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
> tail.default <- function(...) {}
> [PRESS TAB]
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:
> debug(utils:::.guessTokenF...