[R] sink() output to another directory
jdnewm|| @end|ng |rom dcn@d@v|@@c@@u@
Fri Sep 14 06:59:17 CEST 2018
It is not possible for the current working directory to begin with "../". That is like saying n=n-1, because once follow the two dots up to the next directory the two dots refer to the next directory up.
I don't think anyone in this list understands what is going on for you, so I recommend using the reprex package to create a confirmed-reproducible example and send that along so we can identify the bug or user error that is puzzling you.
On September 13, 2018 3:42:26 PM PDT, Henrik Bengtsson <henrik.bengtsson using gmail.com> wrote:
>On Thu, Sep 13, 2018 at 3:33 PM Rich Shepard <rshepard using appl-ecosys.com>
>> Neither ?sink nor ?capture.output indicates how the output file
>> specified to be in a directory other than the cwd.
>> When the cwd is ../analyses/ and I want the output to be in
>> ../analyses/stat-summaries/ how do I write this?
>> writes output to the current directory. My attempts to prefix the
>> with ./ or just / don't sit well with R.
>Hi welcome to R-help. Please help the helper(s) to help you by being
>as explicit as possible what you've tried (i.e. cut'n'paste your
>code), provide error messages (cut'n'paste) you get, if any, and/or
>what you mean by "don't sit well with R" (that can mean many different
>> What is the proper syntax?
>> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> PLEASE do read the posting guide
>> and provide commented, minimal, self-contained, reproducible code.
>R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
>PLEASE do read the posting guide
>and provide commented, minimal, self-contained, reproducible code.
Sent from my phone. Please excuse my brevity.
More information about the R-help