From james.holtman@convergys.com  Fri Jul  5 21:30:43 2002
From: james.holtman@convergys.com (james.holtman@convergys.com)
Date: Fri, 5 Jul 2002 22:30:43 +0200 (MET DST)
Subject: Exception created in RGUI.exe (PR#1748)
Message-ID: <200207052030.WAA25148@pubhealth.ku.dk>

I was trying to print out some text on an  empty PDF graph so that I would
have the statistical data in the same file as the graphs.  I was having
problems in getting the output in a PDF file, but could get it in a
postscript and BMP file.  I put together the script below to see what
'fonts' were available on PDF, is it caused an exception.


 I was getting an exception in the pdf call originally.  The
> follow script causes an exception in the RGUI.exe module at 0x00460AF8
> referencing memory at 0xFFC7BE79.
>
> pdf()
> plot(1,1,ylim=c(0,20))
> for (i in 1:10){    # print out what each font is
>     cat(i,'\n')
>     text(1,i,paste('font =',i), font=i)
> }
> dev.off()
>
> Jim Holtman

platform i386-pc-mingw32
arch     i386
os       mingw32
system   i386, mingw32
status
major    1
minor    5.1
year     2002
month    06
day      17
language R


#=================================

Here is the script that puts the text in a postscript file, but not the PDF
file.


 pdf('test.pdf', width=6, height=6, horizontal=FALSE)
 plot(1, 1)
 text(par('usr')[1], par('usr')[4], "anything", adj = c(0, 1))
 dev.off()

 postscript('test.ps', width=6, height=6, horizontal=FALSE)
 plot(1, 1)
 text(par('usr')[1], par('usr')[4], "anything", adj = c(0, 1))
 dev.off()




--

NOTICE:  The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential.  If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by telephone (collect), so that the sender's address records can be
corrected.



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


Exception created in RGUI.exe (PR#1748)
james.holtman@convergys.com