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
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
?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 )
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-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://
5 matches
Mail list logo