I just moved to Eclipse/StatET to code in R. My understanding is that syntax completions appears with Ctrl + Space and you should get some basic functions/argurments information. But
I get almost nothing:
Simple functions as 'plot' are not even listed. Actually no function starting with the letter p is listed... It just displays a minimum of syntax for loops for instance.
Is it normal ? Is there a way to l开发者_JAVA技巧ink it to the R online syntax documentation?
A couple of things. You need to use the RMI/RJ console (specified in the Launch type of you run configuration), code completion does not work on the RTerm console.
On the "R Console" tab (still in your run configuration) you need to "enable Object DB"
When that is done, launch R and load the packages you need. You should see the "Object browser" view being populated.
At that point I bet code completion will work!
Ok I was able to fix it, I was using Eclipse 32bits that I got from the pythonxy installer. Replacing it by the latest Eclispe 64bits fixed the wrong JRE error.
Thanks for your help Dr G.
精彩评论