Dear Stephen, Maybe running R in batch mode is what you're after? E.g. running
R CMD BATCH ./process/script-name.r creates ./process/script-name.Rout (or ./process/script-name.rout ?) with output of R commands and inline output, I think stderr (maybe others? Not only stdout like tee ... https://en.wikipedia.org/wiki/Standard_streams ) Note, the batch output is overwritten, as opposed to being appended to (the tee -a flag) the next time you run that line again ... Best, Rasmus ______________________________________________ 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.