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 ______________________________________________ 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.