[R] Re: .Platform addition

Paul Roebuck roebuck at odin.mdacc.tmc.edu
Mon Jul 12 19:21:20 CEST 2004


On Mon, 12 Jul 2004, Duncan Murdoch wrote:

> On Mon, 12 Jul 2004 11:01:49 -0500 (CDT), Paul Roebuck
> <roebuck at odin.mdacc.tmc.edu> wrote :
>
> >I glanced this and thought this might be handy to keep for
> >possible use. To make it less Windows-specific, I was going
> >to replace Gabor's fsep default value with '.Platform$file.sep'
> >when I noticed that .Platform doesn't have a '$path.sep'
> >field. Just missing or available elsewhere?
>
> By the way, as far as I know .Platform$file.sep is "/" on all
> platforms now.  In Windows R converts these to "\" when necessary.

While that may be great for R itself, it would be of little
help attempting to parse the Windows PATH environment variable.
The actual raw value of '\\' is actually more appropriate in this
case, no?

----------------------------------------------------------
SIGSIG -- signature too long (core dumped)




More information about the R-help mailing list