title: SublimeREPL Unable to Find R
body: <p>Okay, this is driving my crazy. I had set this up before, deleted Sublime Text, and now I can't remember what the right configuration was. </p>
  
  <p>Very simple: I'm running R through SublimeREPL and need to point the REPL to where R is installed. </p>
  
  <p>I followed the directions at <a href="http://sublimerepl.readthedocs.org/en/latest/" rel="nofollow noreferrer">http://sublimerepl.readthedocs.org/en/latest/</a>, which say to go into the user-defined REPL settings and add this: </p>
  
  <pre><code>{
   ...
   "default_extend_env": {"PATH": "{PATH}:/home/myusername/bin"}
   ...
  } 
  </code></pre>
  
  <p>where the path points to the right directory. I tried replacing it with</p>
  
  <pre><code>{
   ...
   "default_extend_env": {"PATH": "C:/Program Files/R/R-3.0.2/bin"}
   ...
  }
  </code></pre>
  
  <p>and it's still unable to find R, plus now it's giving me the error:</p>
  
  <pre><code>Error trying to parse settings: Expected value in Packages\User\SublimeREPL.sublime-     settings:2:2
  </code></pre>
  
  <p>I know this is an easy fix. Can anybody point out what I'm doing wrong here? </p>
  
  <hr>
  
  <p>*I'm using Sublime Text 3. I previously had this working, but on Sublime Text 2. </p>
  
  <ul>
  <li><p>I've been to <a href="http://tomschenkjr.net/using-sublime-text-2-for-r/" rel="nofollow noreferrer">http://tomschenkjr.net/using-sublime-text-2-for-r/</a> and the piece where he mentions "pointing SublimeREPL at R" ... he doesn't include the actual code, as far as I can see</p></li>
  <li><p>I've also seen this thread <a href="https://stackoverflow.com/questions/13146111/error-2-the-system-cannot-find-the-file-specified-in-sublime-text-2-windows-8">Error 2 The system cannot find the file specified in Sublime Text 2, Windows 8</a>, but I had it working before and didn't have to do anything along those lines</p></li>
  </ul>