Hi Phil,
Thank you so much for your reply.I’m writing to one file only and this is the 
code: sink(“output.txt”).Do you suggest adding this line:Sink()?could you 
please tell me what is the function of :outputrdata<-“output.rdata”Cheers,Amy> 
Date: Sun, 28 Feb 2010 11:22:29 -0800
> From: spec...@stat.berkeley.edu
> To: amy_4_5...@hotmail.com
> CC: r-help@r-project.org
> Subject: Re: [R] Error in sink("output.txt") : sink stack is full
> 
> 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]]
> >
> >
                                          
_________________________________________________________________
Find a great deal on your next car. Get straight to the Point.

        [[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