Full_Name: Ott Toomet Version: 1.5.1 OS: Linux (RH 7.1) Submission from: (NULL) (192.38.43.138) Hi, Try to give an impossible file name (command to pipe through) for dev.print:> plot(1:4) > dev.print(file="|llllll")I got the response sh: llllll: command not found Process R broken pipe at Wed Aug 28 14:42:27 2002 After which R was killed (or at least vanished from the process list). Best, Ott -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
ripley@stats.ox.ac.uk
2002-Aug-28 13:08 UTC
dev.print + impossible filename -> break (PR#1959)
Here's the nub.> postscript(file="|llllll") > sh: llllll: command not found> dev.off()Broken pipe and it's related to how popen/pclose are implemented. The help page does say errors are hard to detect, but we can do a bit better than this. On Wed, 28 Aug 2002 otoomet@econ.dk wrote:> Full_Name: Ott Toomet > Version: 1.5.1 > OS: Linux (RH 7.1) > Submission from: (NULL) (192.38.43.138) > > > Hi, > > Try to give an impossible file name (command to pipe through) for dev.print: > > > plot(1:4) > > dev.print(file="|llllll") > > I got the response > > sh: llllll: command not found > > Process R broken pipe at Wed Aug 28 14:42:27 2002 > > After which R was killed (or at least vanished from the process list). > > Best, > > Ott > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html > Send "info", "help", or "[un]subscribe" > (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ >-- Brian D. Ripley, ripley@stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._