Amy -
    Apparently (you didn't provide a reproducible example),
you are making calls to sink(filename) without closing the
connection by calling sink() with no arguments (or a first
argument of NULL). If you're going to keep writing to the same file, there's no need for additional calls to sink.
If you're writing to several different files, remember
to call sink() when you're done writing to a particular file.


                                        - Phil Spector
                                         Statistical Computing Facility
                                         Department of Statistics
                                         UC Berkeley
                                         spec...@stat.berkeley.edu


On Sun, 28 Feb 2010, Amy Hessen wrote:



Hi,

After some runs to my program, I receive this error message:
?Error in sink("output.txt") : sink stack is full?

Could you please tell me how I can avoid this message?

Cheers,
Amy
_________________________________________________________________
View photos of singles in your area! Browse profiles for FREE

        [[alternative HTML version deleted]]



______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to