[R] options(editor="something with parameter")

Uwe Ligges ligges at statistik.uni-dortmund.de
Fri Jan 19 18:21:53 CET 2001


Jens Oehlschlägel wrote:
> 
> I wouldn't call it a bug, but may be people like to know about it
> 
> My windows editor needs to be called with commandlineparameter -m to create a new instance, which stopped working via options(editor=).
> (it used to work until RW1011, it still works using shell() and system())
> 
> > x <- 1
> > edit(x, editor="textpad -m")
> Error in edit(name, file, editor) : unable to run editor textpad -m
> 
> My workaround is to start the editor with a batch file that adds -m


I don't know "textpad", but everything works fine with for "WinEdt"
using for example:
 editor = "\"e:/programme/winedt/winedt.exe\" -c=\"R-Editor\" -e=r.ini
-V"

I would try e.g.:
1.  edit(x, editor="\"textpad\" -m") 
2.  edit(x, editor="\"c:/fullpath/textpad\" -m")  

Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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