I think you are asking for M-x ess-transcript-clean-buffer

Save your output file in a file named something.rt which will open
in ess-transcript-mode.  It opens read-only and you will need to C-x C-q
to make it writable.  Then run

M-x ess-transcript-clean-buffer


On Wed, Jun 2, 2010 at 2:35 PM, Murat Tasan <mmuurr@gmail.com> wrote:

> hi folks, i use ESS mode in emacs often to interact with R, and while
> i know how to save a session transcript, i'm wondering how to save
> just the history of the commands (i.e. identically to how R gives the
> history save option from its native CLI).
>
> if you use ESS with an R process, commands entered from a separate
> buffer and sent to the process do not get registered with the R
> history, and are thus not apparent when trying to save the history.
> and saving the full transcript can be tedious, as i don't need the
> output directly, but would like for others to be able to scroll
> through my series of commands.
>
> anyone else use ESS and have this problem, and maybe have a work-
> around?
>
> ______________________________________________
> 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<http://www.r-project.org/posting-guide.html>
> and provide commented, minimal, self-contained, reproducible code.
>

	[[alternative HTML version deleted]]

