[R] "Use a command like x <- vi() to recover"

Griffith Feeney gfeeney at hawaii.edu
Wed Feb 2 21:47:32 CET 2000


Subject command doesn't work with rw0901 running on win95 (of course) so,
after looking at the vi and emacs code, I put

textpad <- function(name = NULL, file = ""){
edit(name, file, editor = "g:\\textpad\\txtpad32.exe")
}

Now

x <- textpad()

brings up the botched code in the textpad editor, as expected, but when I
try to save changes I get an "Access to D:\s3vvkogv was denied" message
from the editor. The only way I've found to recover is to restart R, and
the changes in the edited function are lost. This is a nuisance, to say the
least. Can anyone tell me a better way to handle this?

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list