[R] Using an editor with R
Duncan Murdoch
murdoch at stats.uwo.ca
Sun Nov 27 00:09:04 CET 2005
On 11/26/2005 4:53 PM, Walter R. Paczkowski wrote:
> Hello,
>
> I changed the setting in options$editor to allow me to use my favorite editor. In R 2.1.1 on Windows XP, I entered at the command line:
>
> options(editor="c:\\program files\\winedit\\winedit.exe")
>
> When I edited a function, say test, using fix(test), the editor opened perfectly. But, when I saved the file and closed the editor, the R gui screen was white, blank, and completely unresponsive. The only thing I could do was close R by clicking on the "X" in the upper right corner of the window. How can I use my editor but be able to continue using R after I close the editor? What extra setting am I missing?
This sounds like you didn't really close your editor. R isn't smart
enough to know that the editor closed a file, it can only see when the
process finishes.
I'd recommend using the RWinEdt package instead for a different way to
integrate winedit with R.
Duncan Murdoch
More information about the R-help
mailing list