Re: [R] sink() doesn't work

2012-11-09 Thread jim holtman
sink.number() will give you an idea of how many 'sinks' you might have nested. On Fri, Nov 9, 2012 at 2:07 PM, Dan Baron wrote: > 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

Re: [R] sink() doesn't work

2012-11-09 Thread Sarah Goslee
We can't really diagnose the problem without a repeatable example (that is, what's in your R file?). But my suspicion is that you've called sink(filename) more than once. Simply type sink() at the command prompt until you get the warning: In sink() : no sink to remove And then all should be well

[R] sink() doesn't work

2012-11-09 Thread Dan Baron
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 sin