Dear R-helpers, with R-0.99a, Linux, Red-Hat 6.1 derivat (Halloween Linux) I have the following Problem with this code: graphics.off() close.screen(all=T) temp <- matrix(c(0 , 1 , .4 , 1, 0 , 1 , 0 ,.4), ncol= 4, byrow=T ) split.screen(temp) plot(1:100) screen(2) plot(1:100) close.screen(all=T) dev.print(postscript,"/tmp/xx.ps") system("gv /tmp/xx.ps &",T) fails with (gv Version 3.5.8): Error: /undefined in fg Operand stack: Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 2 3 %oparray_pop --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- --nostringval-- 5 3 %oparray_pop Dictionary stack: --dict:770/809-- --dict:0/20-- --dict:67/200-- Current allocation mode is local Current file position is 2127 kghostview, ps2pdf has similar problems. All graphics with mfrow work fine. --please do not edit the information below-- Version: platform = i686-unknown-linux arch = i686 os = linux system = i686, linux status = Patched major = 0 minor = 99.0 year = 2000 month = February day = 9 language = R Search Path: .GlobalEnv, Autoloads, package:base Thanks for your attention & that great software called "R", Peter **I'd never join any club that would have the likes of me as a member.GM** P.Malewski Tel.: 0531 500965 Maschplatz 8 mailto: Peter.Malewski@gmx.de ************************38114 Braunschweig******************************** -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Sun, 20 Feb 2000 p.malewski@tu-bs.de wrote:> Dear R-helpers, > with R-0.99a, Linux, Red-Hat 6.1 derivat (Halloween Linux) I have > the following Problem with this code: > > graphics.off() > close.screen(all=T) > temp <- matrix(c(0 , 1 , .4 , 1, > 0 , 1 , 0 ,.4), > ncol= 4, > byrow=T ) > split.screen(temp) > plot(1:100) > screen(2) > plot(1:100) > close.screen(all=T) > dev.print(postscript,"/tmp/xx.ps")I fixed this earlier today (for 1.0.0, as it was in the R-bugs database as PR# 378). You need a screen to split! So for now precede split.screen(temp) by plot.new() or frame() or explicitly open a graphics device. Your example works on the current snapshot. -- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._