Re: [R] Exporting Commands and Results

2016-03-19 Thread Jeff Reichman
Perfect!!! From: Anders Alexandersson [mailto:andersa...@gmail.com] Sent: Saturday, March 19, 2016 6:26 AM To: reichm...@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

Re: [R] Exporting Commands and Results

2016-03-19 Thread Jordan Meyer
You may want to try sink(filename, split=TRUE). If you have particularly lengthy commands that you wish to save, you can run your syntax file using source(filename, echo=TRUE, max.deparse.length=Inf) to keep R from truncating the commands. On Mar 19, 2016 10:59 AM, "Bert Gunter" wrote: > ?savehis

Re: [R] Exporting Commands and Results

2016-03-19 Thread Bert Gunter
?savehistory may also be relevant, depending on what you wish to do and how hard you want to work. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )

Re: [R] Exporting Commands and Results

2016-03-19 Thread John Kane
Perhaps knitr (http://yihui.name/knitr/)? John Kane Kingston ON Canada > -Original Message- > From: reichm...@sbcglobal.net > Sent: Fri, 18 Mar 2016 17:00:00 -0500 > To: r-help@r-project.org > Subject: [R] Exporting Commands and Results > > R-Users > >

[R] Exporting Commands and Results

2016-03-18 Thread Jeff Reichman
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@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://