[R] Log or diary file

Agustin Lobo aloboaleu at gmail.com
Tue May 20 12:16:07 CEST 2008


This is what I was looking for and actually TeachingDemos includes
a lot of very interesting things!

Thanks a lot for making it and for pointing it to me.

Agus

Greg Snow wrote:
> The R2HTML package has tools for creating an HTML log of your session (see ?HTMLStart).  Or the TeachingDemos package has a text based set of tools (see ?txtStart) for creating a log of your session.  Neither is perfect (and imperfect in different ways), but could be what you are looking for.
> 
> Hope this helps,
> 
> --
> Gregory (Greg) L. Snow Ph.D.
> Statistical Data Center
> Intermountain Healthcare
> greg.snow at imail.org
> (801) 408-8111
> 
> 
> 
>> -----Original Message-----
>> From: r-help-bounces at r-project.org
>> [mailto:r-help-bounces at r-project.org] On Behalf Of Agustin Lobo
>> Sent: Monday, May 19, 2008 1:24 AM
>> To: r-help at r-project.org
>> Subject: [R] Log or diary file
>>
>> 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.
>>
> 
> 

-- 
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



More information about the R-help mailing list