Sublime Text 2 and R

前端 未结 4 1976
旧时难觅i
旧时难觅i 2021-02-04 17:26

I am trying to use Sublime Text 2 as an interface to the statistics software R [update/edit: Solved!].

On Windows, I have tried the following:

  1. Installed

4条回答
  •  灰色年华
    2021-02-04 17:55

    For windows system you can add a new build for R (Tools -> Build System -> New Build System) and put the following lines. Modify the path according to your R installation directory.

    {"cmd": ["Rscript.exe", "$file"],
    "path": "C:\\Program Files\\R\\R-2.15.2\\bin\\x64\\",
    "selector": "source.r"}
    

    You can execute the entire file by pressing ctrl+B instead of starting SublimeREPL.

提交回复
热议问题