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.

Duncan,

   Using linux (and perhaps other unices) ./ and / refer to the current
directory.

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

    sink("gorp/mung.txt")

will put the sink() output into the file "mung.txt" in the directory "gorp".

<SNIP>

cheers,

Rolf Turner

--
Technical Editor ANZJS
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to