6

What do I do when I get the following error message in Eclipse when trying to launch R?

"no session of R is active in the current workbench window"

Franck Dernoncourt
  • 77,520
  • 72
  • 342
  • 501
Dr Dave
  • 453
  • 1
  • 4
  • 11
  • 1
    Sounds like you didn't start and R session. You need to set up and activate a Run Configuration. – Andrie Dec 07 '11 at 08:38

3 Answers3

5

I've made a tutorial for installing StatET on my Win64 system, you can find it here (mirror). Although it's no rocket science it's easy to get into issues along the way.

You need to first configure R for your system and then you also need to go into Run > Run Configurations... and add a R Console before you can run it.

You also need to be careful about the Java version that you use. I had to uninstall all my Java, then reinstall the 64-bit before it worked. I guess I could've used the 32-bit, but since I use 64-bit R I thought that it might be a better option (although I think the Eclipse environment and R don't really care about sharing bits)

Max Gordon
  • 5,367
  • 2
  • 44
  • 70
2

for me had to select rterm, that displayed the r console/terminal. Then do run , run as -> run in R as script via source

rmpbklyn
  • 21
  • 1
1

I had the sampe problem. go to Run > Run Configurations > RStudio

and klick on "Run"