Perfect!!! From: Anders Alexandersson [mailto:andersalex at gmail.com] Sent: Saturday, March 19, 2016 6:26 AM To: reichmanj at sbcglobal.net Subject: Re: [R] Exporting Commands and Results https://codeandculture.wordpress.com/2014/10/09/what-is-the-word-for-log-in-r/ On Fri, Mar 18, 2016 at 6:00 PM, Jeff Reichman <reichmanj at sbcglobal.net <mailto:reichmanj at sbcglobal.net> > wrote: R-Users I know sink("filename") will export my results to a file but how do I export both commands and results in R? Jeff [[alternative HTML version deleted]] ______________________________________________ R-help at r-project.org <mailto:R-help at 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. [[alternative HTML version deleted]]