Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.A41.4.44.0202201218530.127562-100000@homer04.u.washington.edu>
Date: 2002-02-20T20:27:28Z
From: Thomas Lumley
Subject: system-independent path for source()
In-Reply-To: <7F5AD4A8-263E-11D6-A296-000393021810@mail.mcg.edu>

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