Run SendCode: Choose Program from Command Palette.To get it running, just do the following steps: ![]() ![]() Typically, I add the location to the R executable to environment variables (in Windows) or to the PATH variable in Linux so that all I have to do is type in ‘R’ in the terminal. Before you start, make sure you have your R installation done and that you know how to access the executable. The end result is an R script and console side-by-side where you can run the entire or highlighted bits of your R code in the terminal (as below).Ĭonfiguring this setup is super easy, and only requires you to install SendCode and Terminus via the Command Palette in Sublime Text. ![]() SendCode, as its name suggests, simply sends code to a terminal, and Terminus is an intergrated, cross-platform terminal that you can have in a view tab. Searching online, I found that using a combination of 2 packages (SendCode and Terminus) was the best way forward to developing R in Sublime Text 3. So when I had to develop some code in R for my work, I wanted to use this IDE to run blocks of code, build entire scripts and easily commit them to a shared repo with Git. ![]() It has a clean interface, it is easy to configure and is reasonably ligthweight. I use Sublime Text as my IDE of choice for all things not Python.
0 Comments
Leave a Reply. |