[R] system-independent path for source()

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Feb 20 21:38:34 CET 2002


All contributions welcome, Thomas!

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

On Wed, 20 Feb 2002, Thomas Lumley wrote:

> On Wed, 20 Feb 2002, David R. Bickel wrote:
>
> > Thanks for telling me about file.path. That solves the problem of the
> > different separators, but UNIX begins the home path with "/" and MacOS
> > begins the home path with the name of the hard disk.
> >
>
> The opposite problem also occurs when one wants a relative path
>     ":some:long:path"
> is the Mac equivalent of
>      "some/long/path"
>
> Perhaps file.path() should have an absolute/relative path option?
>
> 	-thomas
>
>


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