2

Im currently using R through Java, and im not sure which version im using.

I've stetted in R studio my R version into version 2.15.3 which is what i need: enter image description here

And so is my enviorment variable setting (R_home):

enter image description here

But typing in the command line : "R":

enter image description here

So which version in being used?

Yehoshaphat Schellekens
  • 2,057
  • 1
  • 18
  • 45

1 Answers1

1

Based on what you describe, you have the most updated version of R installed and RStudio is able to detect it. However the version of R that is currently in your OS environment variable (and hence used by Java) is not the most recent,

=> you need to update your PATH environment variable. The procedure might be a bit different whether you are on Unix or Windows.

I am sure you'll find plenty of ressources on Internet to help you do that How to update PATH variable permanently from cmd? Windows

Community
  • 1
  • 1
RockScience
  • 15,586
  • 22
  • 74
  • 117
  • I actually want the opposite, i want to downgrade the R version, that's why my R_home is set to 2.15.3, are you implying that by typing "R" in the command line, im getting the most recent R version and not the R version i specified on R_home manually? – Yehoshaphat Schellekens Apr 28 '14 at 09:04
  • Dude I'm sorry, your answer is a right answer, I guess I should have read it thorrowly before I wasted three houses until I found it myself – Yehoshaphat Schellekens Apr 28 '14 at 22:05