Hi,
 
Is it possible to redirect the staff that normally goes to the R console
window into a file. sink() does this for sdterr and stdout. But I need
something that redirects "everything" that appear in the console window
(including the top-level commands).
 
I want to achieve the same effect as that of the following command under
sh:
R < foo.R &> foo.Rt
 
only I want the redirection to be activated within the foo.R script.
(The reason being that the name of the file is computed inside foo.R)
 
Thanks,
Vadim

	[[alternative HTML version deleted]]


