Setzer.Woodrow@epamail.epa.gov
2001-Apr-11 21:39 UTC
[Rd] using bitmap to make a multi-page pdf file results in duplication of (PR#908)
When I execute the following code: bitmap("test.pdf",type="pdfwrite") plot(1:10,1:10,main="ONE") plot(1:10,1:10,main="TWO") dev.off() the resulting file test.pdf contains four pages: graph ONE, graph TWO, graph ONE, graph TWO. I can recreate the problem with R version 1.2.1 and 1.2.2. I am using Aladdin ghostscript version 6.50. The temporary file Rbit... has the correct number of graphs in it. Furthermore, if I execute from the command line the command as constructed in 'bitmap()', using the Rbit... file as input, I get a pdf file with the correct number of graphs in it. --please do not edit the information below-- Version: platform = i386-pc-mingw32 arch = x86 os = Win32 system = x86, Win32 status major = 1 minor = 2.1 year = 2001 month = 01 day = 15 language = R Windows 9x 4.10 (build 2222) A Search Path: .GlobalEnv, package:MASS, package:ctest, Autoloads, package:base I am using ghostscript version 6.50, and have the following setup: R. Woodrow Setzer, Jr. Phone: (919) 541-0128 Experimental Toxicology Division Fax: (919) 541-5394 Pharmacokinetics Branch NHEERL MD-74; US EPA; RTP, NC 27711 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._