Hi, I use R 2.14.0 on Win XP Pro SP3 and it behaves same - some times. After I draw a lot of plots (more then 200, 2 concurrent rgui processes running in parallel) to png then I get same error message. Bmp(), jpg(), png() - same error. Restart of Rgui helps nothing. Solutin - restart system and voila everything is ok. I suspect that there might be something wrong with allocation/deallocation of Windows resources in windows() function. Ondrej Novak [[alternative HTML version deleted]]
On 23.05.2013 17:06, Ondrej Novak wrote:> Hi, > I use R 2.14.0 on Win XP Pro SP3 and it behaves same - some times. > After I draw a lot of plots (more then 200, 2 concurrent rgui processes > running in parallel) to png then I get same error message. > Bmp(), jpg(), png() - same error. Restart of Rgui helps nothing. > > Solutin - restart system and voila everything is ok. > > I suspect that there might be something wrong with allocation/deallocation > of Windows resources in windows() function.R-2.14.0 is anicent, can you try this woth a recent R such as R-3.0.1 please and if the problem persists, please provide reproducible code so that we can try to reproduce in order to find the problem. Best, Uwe Ligges> Ondrej Novak > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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. >
Hi Beside of what Uwe recommends. You probably use some cycle. Why not to use multipage pdf? I remember I once created pdf with more than 1000 pages without any problem. Regards Petr> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- > project.org] On Behalf Of Ondrej Novak > Sent: Thursday, May 23, 2013 5:06 PM > To: r-help at r-project.org > Subject: [R] Error in png: unable to start png() device > > Hi, > I use R 2.14.0 on Win XP Pro SP3 and it behaves same - some times. > After I draw a lot of plots (more then 200, 2 concurrent rgui processes > running in parallel) to png then I get same error message. > Bmp(), jpg(), png() - same error. Restart of Rgui helps nothing. > > Solutin - restart system and voila everything is ok. > > I suspect that there might be something wrong with > allocation/deallocation of Windows resources in windows() function. > > Ondrej Novak > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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.