[rkward-devel] turn off sink

Albert Greinoecker albert.greinoecker at uibk.ac.at
Mon Nov 5 15:16:42 UTC 2007


Hi Thomas,

yes, you are right, i created RKward 0.4.8 from source and now
everything works fine!

thx,
Albert

Am Montag, den 05.11.2007, 12:53 +0100 schrieb Thomas Friedrichsmeier:
> 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





More information about the Rkward-devel mailing list