search for: program_containing_sink

Displaying 1 result from an estimated 1 matches for "program_containing_sink".

2012 Nov 09
2
sink() doesn't work
Oftentimes I want to make outputs to be displayed on the R console. However, after I execute a program with a sink command in it the R console becomes unresponsive. Meaning that the following occurs in R console: > source("Program_containing_sink.R") > a<-1 > a > >sink() >a > R help says that sink() will bring output back to the console but i's not happening. Restarting R fixes the problem. This has been driving me nuts and I'm sure there's an easy answer but after a week I'm still not sure. R 2....