[R] Scripting with an external editor

Jim Lemon jim.lemon at uts.edu.au
Mon Mar 24 05:05:11 CET 2003

I've had time to return to the "external editor" project. The following 
function does almost what I want, which is to allow an external editor to 
feed command lines to R.

ext.editor<-function(editor) {

While the description of parse() indicates that it should parse input line by 
line, the output of the editor is not read until it exits. The external 
editor is sending the output as requested, so I must be using the wrong 
connection setup. Any hints?


Feel free to ignore any garbage below this line.

UTS CRICOS Provider Code:  00099F

DISCLAIMER\ ====================================================... [[dropped]]

More information about the R-help mailing list