? backslash was Re: [R] Editor alternative

Yves Gauvreau cyg at sympatico.ca
Wed Sep 13 12:37:12 CEST 2000


Hi

I just want to point out an observation. I noticed that path strings under
Windows required that I double up the backslash "\" as it is used as an
escape character as in C. I think that most if not all of the "Unix tools"
ported to Windows accept path strings with a single backslash. I wonder if
it would be worthwhile to reproduce that behavior under R somehow? I mean
kind of preprocessing the params used as path strings transparently since
character vectors don't "escape" the backslash.

I understand it is much easier to require from users of R under Windows to
comply with it's path strings needs. Maybe it would be nice to just provide
a simple function in "base" for the sole purpose of translating Windows path
strings to the required form.

Just a though.

Yves Gauvreau



----- Original Message -----
From: "Uwe Ligges" <ligges at statistik.uni-dortmund.de>
To: "Marc Feldesman" <feldesmanm at pdx.edu>
Cc: "r-help" <r-help at stat.math.ethz.ch>
Sent: Tuesday, September 12, 2000 4:12 PM
Subject: Re: [R] Editor alternative


> Marc Feldesman wrote:
> >
> > I'm using version 1.1.1 under Windows NT and Windows 2000.  I'm unable
to
> > get any editor other than Notepad to work.  (I don't have use for any of
> > the Unix editors - vi or Emacs) but would like to use EditPadPro, which
has
> > some nifty features, including the ability to spawn Rgui from within
> > it.  (No syntax highlighting programmability yet, but maybe soon).
Anyway,
> > I have editpadpro.exe in my path and have a fully specified path
statement
> > in options(editor=....).  The options statement "takes" fine, but when I
> > attempt to use the editor, I get an error stating that R cannot load the
> > editor.  I ran into a similar problem with an earlier version of R under
> > Win 98, but I haven't tried it under either NT or Win2K.
> >
> > Am I missing something, or does R not really spawn an external editor
> > properly (or at all) under Windoze?
>
> I have written an extension for the editor WinEdt. Everything works fine
> on WinNT, if I use something like
> options(editor="\"c:/program files/winedt/winedt\" -Options")
>
> Could you provide an example [option(.....) and error message]?
>
> 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
>
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
_._

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