Re: [R] Program output to file using a batch command file

2007-12-31 Thread Charles C. Berry
On Mon, 31 Dec 2007, Jean-Victor C?t? wrote: If I copy the following commands in my batch file to the R console, R creates a file named "basicStatsIBM.lis" with the program output in it: Sortie <- file(description = "basicStatsIBM.lis", open = "wt", blocking = TRUE, encoding = "UTF-8") sin

[R] Program output to file using a batch command file

2007-12-31 Thread Jean-Victor Côté
If I copy the following commands in my batch file to the R console, R creates a file named "basicStatsIBM.lis" with the program output in it: Sortie <- file(description = "basicStatsIBM.lis", open = "wt", blocking = TRUE, encoding = "UTF-8") sink(file = Sortie, append = FALSE, type = "outp