How to use TpR (>= 1.0.2) to submit code from Crimson Editor to R? ------------------------------------------------------------------ Contributed by Cai Yong [caiyong@u.washington.edu] - Place TpR.exe and VB6FR.DLL in a directory that is in your path (ex: c:\Windows\System32) - Create Tools in Crimson Editor to submit code to Rgui. Since there are two different ways to use TpR, you need create two separate Tools. Go to Menu "Tool" -> "Conf. User Tools" 1) Source in R: use "c:\Windows\System32\TpR.exe" as Command and "$(FilePath)" as argument, also check option "Save before Execute". 2) Execute in R: use "c:\windows\system32\TpR.exe" as Command and leave everything else blank.