Skip to content

options(editor="something with parameter")

2 messages · Jens Oehlschlägel, Uwe Ligges

#
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())
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

_______________________________________________________________________________
Alles unter einem Dach: Informationen, Fun, E-Mails. Bei WEB.DE: http://web.de
Die gro?e Welt der Kommunikation: E-Mail, Fax, SMS, WAP: http://freemail.web.de

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
Jens Oehlschl?gel wrote:
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._