[rkward-devel] turn off sink

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Mon Nov 5 11:53:03 UTC 2007


Hi,

On Monday 05 November 2007, Albert Greinoecker wrote:
> RKWard 0.4.2 (KDE 3.5.6)
> R version 2.4.1 (2006-12-18)
> Ubuntu 7.04
>
> How can I turn off sink-writing to a file when using rkward?
> After calling a function which contains
> sink('file.txt') at the beginning and sink() at the end,
> the output still goes to file.txt .
> What am I doing wrong?

I can't reproduce this using RKWard 0.4.8:

f <- function () {
	sink ("file.txt")
	print ("to file")
	sink ()
	print ("to console")
}
f ()

works as expected. I don't recall any specific changes that should affect this 
since RKWard 0.4.2, but maybe there were some. Do you have the option to 
upgrade to RKWard 0.4.8, and try with that version?

Regards
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20071105/c760c575/attachment.sig>


More information about the Rkward-devel mailing list