[R] Ideas needed on automation of R

Roger Peng rpeng at stat.ucla.edu
Mon Jan 13 01:30:03 CET 2003


Not sure about your first question.

Regarding your second question, maybe you should just sink to a file:

sink("ex.lm.out")
example(lm)
sink()

-roger
_______________________________
UCLA Department of Statistics
rpeng at stat.ucla.edu
http://www.stat.ucla.edu/~rpeng

On Sun, 12 Jan 2003, Rex_Bryan at urscorp.com wrote:

>  I need some guidance on what is the best way to automate R  I am aware of
> Rterm.
> 
> First question:  Is it true that R is not currently OLE accessible under
> Windows 2000?
> Second question: Is there an R command that echoes all R Console results to
> a run log system file?
> 
> My first attempt to write a run log file is the example from the R Data
> Inport/Export documentation.
> 
> > zz<- "textConnection("ex.lm.out","w")
> > example(lm, prompt.echo = ">")
> > sink()
> > close(zz)
> 
>  I can't find the file "ex.lm.out" anywhere on my system's drive.  But the
> file exists in R as confirmed by the next command:
> 
> > cat(ex.lm.out, sep="\n")
> 
> Rex
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> http://www.stat.math.ethz.ch/mailman/listinfo/r-help
>




More information about the R-help mailing list