Displaying 1 result from an estimated 1 matches for "fileevents".
2003 Mar 24
9
Scripting with an external editor
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) {
ext.input<-pipe(editor,"r")
eval(parse(ext.input))
close(ext.input)
}
While the description of parse() indicates that it should parse input line by
line, the