Dear R experts---has someone written a wrapper for the "source" function
that opens a sink file in the same name as the .R file and closes it at the
end (including when there is an error that aborts)?  the first part is
easy, but I am not sure how to not patch myself an empty sink() after any R
program print/abort sequences have played out.

besides, "sink=TRUE, split=TRUE" could be a nice additional option to
"source".

sincerely,

/iaw

----
Ivo Welch (ivo.we...@gmail.com)

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to