[R] sink() output to another directory
r@turner @end|ng |rom @uck|@nd@@c@nz
Fri Sep 14 01:25:28 CEST 2018
On 09/14/2018 10:49 AM, Rich Shepard wrote:
> On Thu, 13 Sep 2018, Duncan Murdoch wrote:
>> What did you try? Prefixing with either ./ or / doesn't make any sense.
> Using linux (and perhaps other unices) ./ and / refer to the current
This is simply incorrect; "./" refers to the current directory but "/"
refers to the root directory.
Note that sink("./mung.txt") gives the same result as sink("mung.txt").
I.e. the "./" is redundant.
If you have a directory "gorp" in your current directory, then
will put the sink() output into the file "mung.txt" in the directory "gorp".
Technical Editor ANZJS
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276
More information about the R-help