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

Attachment: signature.asc
Description: This is a digitally signed message part.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
RKWard-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rkward-devel

Reply via email to