Skip to content
Prev 376817 / 398502 Next

Genuine relative paths with R

Hi Olivier,

Sorry for misspelling your name! Please see inline below.

On Sat, Oct 6, 2018 at 9:58 AM Olivier GIVAUDAN
<olivier_givaudan at hotmail.com> wrote:
My claim is that you cannot avoid hardcoding paths. Even if the
feature you requested existed, you would still have to do e.g.,

source("/path/to/dir/file.R")

That is just as much hard-coded as the (only slightly more verbose)

cd("/path/to/dir")
source("file.R")

So, I'm afraid I still don't get it. What is it that you actually want
to do that you currently cannot?

Best,
Ista
Message-ID: <CA+vqiLFoxUe=4-KLN7ebcTwRoR95R0cSJfSKcDV=dungdT6hjg@mail.gmail.com>
In-Reply-To: <VI1PR0202MB3357776AA39CD2305C0FA141F5E40@VI1PR0202MB3357.eurprd02.prod.outlook.com>