On Fri, 27 Jul 2018, MacQueen, Don wrote:
Given your description, I would start withsink('wysumallyrs.txt') print( summary(wyallyrs) ) sink() and see if that doesn't meet your needs.
Don, I started with sink() trying to follow <https://stat.ethz.ch/R-manual/R-patched/library/base/html/sink.html> (which is the same as ?sink within R) using the two examples at the bottom. Neither used the print() function and the results were an empty file (using example 1) or an error message about incorrect usage (using example 2). Your solution does make more sense than does using cat(). Thanks, Rich ______________________________________________ [email protected] 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.

