Hi all,

I am trying to use type message with sink, like this:

sink("all.Rout", type="message")
1+3

sink()

readLines(con = "all.Rout")

So to get the following output:

> 1+3
[1] 4

Obviously this doesn't work.

I tried some variations (based on the explanations in the help) but am
missing something on how to make it work.

Any suggestions?

(p.s: I need this so to help Faiz Rasool in his latest post)

Thanks,

Tal



----------------Contact
Details:-------------------------------------------------------
Contact me: Tal.Galili@gmail.com |  972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
----------------------------------------------------------------------------------------------

	[[alternative HTML version deleted]]

