[R] Saving results from Linux command line
Richard M. Heiberger
rmh at temple.edu
Fri Aug 24 16:01:14 CEST 2007
Go for the best and do it with ESS.
ESS understands the file extension myfile.rt (not myfile.txt, which is generic)
as an R transcript and therefore font-locks it for the R syntax and is able to resend
multiple-line statements with a single ENTER.
Within emacs, you can save the *R* buffer to a myfile.rt file (you can also
save the R transcript as myfile.rt running inside a *shell* buffer,
but that is silly at this point).
Plus you get syntax highlighting and the other features on your myfile.R file.
More information about the R-help
mailing list