Displaying 2 results from an estimated 2 matches for "guesstokenfromlin".
Did you mean:
guesstokenfromline
2012 Mar 14
1
[ESS] completion in [] (R internal completion fails)
Hello,
I am forwarding this from ESS mailing list, as it's a failure of
internal R completion system:
This fails:
utils:::.assignLinebuffer('iris[iris$Spec')
utils:::.assignEnd(15)
utils:::.guessTokenFromLine()
utils:::.completeToken()
utils:::.retrieveCompletions() ## -> [1] "iris[iris$Spec"
This works
utils:::.assignLinebuffer('iris[ iris$Spec') # note the space after [
utils:::.assignEnd(15)
utils:::.guessTokenFromLine()
utils:::.completeToken()
utils:::.retrieveCompletions()...
2011 Jun 07
1
Cases of TAB-completion that hang Rterm
...ecialOpLocs(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:::.guessTokenFromLine)
> [PRESS TAB]
or
> debug(utils:::.win32consoleCompletion)
> [PRESS TAB]
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