NppToR: R Syntax Highlighting, Code Folding and Code-Passing for R in Notepad++

When I’m not using Stata for modelling I sometimes dabble with R. In general I find that this is a good environment for modeling when you may want to keep several datasets (or data.frames as they are called in R) in memory. For better or worse, Stata allows you to keep only one dataset in memory at a time. Normally I don’t find this to be restrictive but there are times when it’s nice to be able to save some result to a matrix while keeping your working dataset in memory.

Anyway, the purpose of this post isn’t to discuss R vs. Stata — I’ll leave that for another day. For now, I just want to mention a nice tool by Andrew Redd who has written a program using AutoHotkey to link the powerful text editing program Notepad++ to R. Tinn-R is another popular text-editor for R programming but I’ve found it simpler to stick to one text-editor for all my programming needs. Check out the link below to download Andrew’s tool for use on the Windows platform. Instructions to set it up are here if necessary.

NppToR: R Syntax Highlighting, Code Folding and Code-Passing for R in Notepad++ | Andrew Redd.

Update: Fixed the link to NppToR. Can now be found at sourceforge.

Comments on this article can be sent to me by e-mail..

2 Responses to “NppToR: R Syntax Highlighting, Code Folding and Code-Passing for R in Notepad++”

  1. Andrew Redd writes:

    Hey thanks for mentioning NppToR, but please notice that the version I have on my website is several versions old. I’ve moved NppToR to sourceforge, which can handle the traffic is gets, far better. Thanks.
    http://sourceforge.net/projects/npptor/

  2. Andrew writes:

    Thanks for the comment Andrew. I’ve edited the post and looks like I’ll be upgrading to the latest version.

    Thanks so much for writing the program! I’ve been loving it for a few months now.