[R] sink() output to another directory
Rich Shepard
r@hep@rd @end|ng |rom @pp|-eco@y@@com
Fri Sep 14 00:49:52 CEST 2018
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. My code, to print to the sub-directory
(../analyses/stat-summaries/) when the script is being run in ../analyses:
sink('stat-summaries/estacada-wnw-precip.txt')
print(/summary(estacada_wnw_wx))
sink()
Rich
More information about the R-help
mailing list