Skip to content
Prev 223 / 885 Next

text editor for teaching R

In windows, the simplest editor to use is the built in one in the R gui.  Just click on file, then New Script and it will open a blank editor (or use open script to read in a file).  This is a pretty basic editor, it does not do syntax highlighting, paren matching an several other things that are nice in Tinn-R, ESS/emacs and others.  

But one really nice thing is that you can highlight a section of code and just click a single button on the toolbar and the highlighted code will be copied to the command line and run.  Or without a selection, the same button will run the current line and advance to the next line (so clicking the button several times runs the next several lines of code).

And you don't have to install anything besides R.

Hope this helps,