[R] save to file
arun
smartpink111 at yahoo.com
Mon Dec 17 03:07:53 CET 2012
HI,
I guess ?sink() may not work for you as you need the whole R console.
Have you tried library(TeachingDemos) ?txtStart(), ?txtStop() ?
txtStart("foo.txt",commands=TRUE,results=TRUE,append=FALSE)
<codes>
txtStop()
A.K.
----- Original Message -----
From: Felipe Carrillo <mazatlanmexico at yahoo.com>
To: "r-help at stat.math.ethz.ch" <r-help at stat.math.ethz.ch>
Cc:
Sent: Sunday, December 16, 2012 8:30 PM
Subject: [R] save to file
Hi,
What's the equivalent of "Save to File" from the R console File menu on an R routine? Just trying
to capture the whole R console into a text file when my code fails.
Felipe D. Carrillo
Supervisory Fishery Biologist
Department of the Interior
US Fish & Wildlife Service
California, USA
http://www.fws.gov/redbluff/rbdd_jsmp.aspx
[[alternative HTML version deleted]]
______________________________________________
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.
More information about the R-help
mailing list