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? Thanks, Walt Paczkowski ________________________ Walter R. Paczkowski, Ph.D. Data Analytics Corp. 44 Hamilton Lane Plainsboro, NJ 08536 (V) 609-936-8999 (F) 609-936-3733 www.dataanalyticscorp.com [[alternative HTML version deleted]]
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