savehistory writes all the executed lines from the session.

How can I write everything (executed lines and output) from the active session 
to a file?

Using Edit | Select All then Edit Copy, I can copy everything to the clipboard 
and write the whole thing to a file manually.

If I just used the clipboard, I can paste the whole content into another 
edittor (for documentation). Is there a way to copy the content of the session 
with the syntax colouring?

Thanks.
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
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.

Reply via email to