From dtrenkler@nts6.oec.uni-osnabrueck.de  Thu Nov 22 10:30:06 2001
From: dtrenkler@nts6.oec.uni-osnabrueck.de (dtrenkler@nts6.oec.uni-osnabrueck.de)
Date: Thu, 22 Nov 2001 11:30:06 +0100 (MET)
Subject: [Rd] Bug in dev.print? (PR#1179)
Message-ID: <200111221030.LAA23641@pubhealth.ku.dk>

Dear "Debuggers",

please have look a the following:



> plot(0:1,0:1,type="n")
> points(c(0,0.5,1),c(0,0.5,1))
> dev.print(device = postscript, width=5 , height=5, file="test1.ps")
windows
      2
>#  This worked
> dev.print(device = pdf, width=5 , height=5, file="test1.pdf")
windows
      2
>#  That also
> plot(0:1,0:1,type="n" ,yaxs="i")
> points(c(0,0.5,1),c(0,0.5,1))
> dev.print(device = postscript, width=5 , height=5, file="test2.ps")
windows
      2
>#  This worked. However:
> dev.print(device = pdf, width=5 , height=5, file="test2.pdf")
Error in dev.copy(device = function (file = ifelse(onefile, "Rplots.pdf",  :
        negative length vectors are not allowed
># I guess the clipping of the points causes the error...

Version:
 platform = i386-pc-mingw32
 arch = x86
 os = Win32
 system = x86, Win32
 status = 
 major = 1
 minor = 3.1
 year = 2001
 month = 08
 day = 31
 language = R

Windows NT 4.0 (build 1381) Service Pack 6

Search Path:
 .GlobalEnv, package:ctest, Autoloads, package:base

   --- D.Trenkler ---

****************************************************************************
*****
   Dr. Dietrich Trenkler        (dtrenkler@nts6.oec.uni-osnabrueck.de)      
   Statistik / Empirische Wirtschaftsforschung
   Universitaet Osnabrueck
   Rolandstrasse 8                                Phone: +49(0) 541-969-2753
   D-49069 Osnabrueck                          Fax  : +49(0) 541-969-2744
   GERMANY
****************************************************************************
*****




-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] Bug in dev.print? (PR#1179)
dtrenkler@nts6.oec.uni-osnabrueck.de