[ESS] completion using ess-remote
Rodney Sparapani
rsparapa at mcw.edu
Mon Oct 24 20:51:21 CEST 2011
Francois Pepin wrote:
> Hi,
>
> I'm using ESS 5.14 with emacs 23.1.1 and R 2.13.1. I sometimes need to access my R session from different computers so I use screen and ess-remote to connect to it. Unfortunately, the command completion does not work.
>
> The output I get after re-attaching the screen in a terminal is:
>
>> as.character(getRversion() >= "2.7.0")
> [1] "TRUE"
>> rcompgen:::.assignLinebuffer('mul')
> Error in loadNamespace(name) : there is no package called 'rcompgen'
>> rcompgen:::.assignEnd(3)
> Error in loadNamespace(name) : there is no package called 'rcompgen'
>> rcompgen:::.guessTokenFromLine()
> Error in loadNamespace(name) : there is no package called 'rcompgen'
>> rcompgen:::.completeToken()
> Error in loadNamespace(name) : there is no package called 'rcompgen'
>> rcompgen:::.retrieveCompletions()
> Error in loadNamespace(name) : there is no package called 'rcompgen'
>
> This is due to the fact that rcompgen is now found under utils, so all these commands should have utils::: instead of rcompgen:::
>
> Looking into the ESS source, I see the following lines in lisp/ess-r-d.el indicating that ESS knows about this:
> (NS (if (ess-current-R-at-least '2.7.0)
> "utils:::"
> "rcompgen:::"))
>
> Would anyone know why ESS is still trying to use rcompgen in this case and how I might be able to convince it not to?
>
> Thanks,
>
> François Pepin
> Scientist
>
Wild-ass-guess. Are you running ESS 5.14 and R 2.13.1 everywhere,
i.e. locally and remotely?
Rodney
More information about the ESS-help
mailing list