[R] Log or diary file

From: Agustin Lobo <Agustin.Lobo_at_ija.csic.es>
Date: Mon, 19 May 2008 09:24:23 +0200


Hi!

Is it possible to set a file to which both commands and output would get automatically saved? I've tried with sink(), but only get the output. I mean something
like a combined history and sink, as you get with File/Save to File.. in the windows GUI.
Tis is done with diary filename in Matlab, and you can state diary on and
diary off to control what is being saved to the file.

Thanks

Agus

-- 
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo_at_ija.csic.es
http://www.ija.csic.es/gt/obster

______________________________________________
R-help_at_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.
Received on Mon 19 May 2008 - 07:34:17 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 19 May 2008 - 17:30:38 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive