[R] trouble printing from graphics device in R 2.7.2

Jenny Drnevich drnevich at illinois.edu
Wed Sep 10 21:34:53 CEST 2008


Hi,

I've been using R for many years and have always tried to keep my R 
version up to date, and when I switched from 2.7.1 to 2.7.2 I'm 
suddenly having trouble printing from the graphics device. I have 
Windows XP, and installed both versions of R from the binaries. If I 
start 2.7.2 and simply do:

 > plot(1:10)

the default R Graphics Device window opens as usual. However, when I 
use the menu in that window to File -> Print, the graph that is 
printed is cut off below ~2 on the y-axis and ~10 on the x-axis if I 
don't resize the Graphics window; resizing the window bigger does 
result in more of the graph printed, but it's still cut off on the 
y-axis. Everything prints fine in R 2.7.1 (sessionInfo()s below), and 
all other versions of R I've had on this exact same computer for the 
last 3 years printing to the same printer, which is why I think it's 
something with R 2.7.2. I even tried un-installing and re-installing 
2.7.2, but the problem persisted. Using the menu to save the graphic 
in various formats seems to work fine - the entire graph is visible 
in the .png, .pdf, etc. files. I didn't see anything in the changes 
or the archives about this... so what's going on and how do I fix it 
so I can continue to use 2.7.2?

Thanks,
Jenny


 > sessionInfo()
R version 2.7.2 (2008-08-25)
i386-pc-mingw32

locale:
LC_COLLATE=English_United States.1252;LC_CTYPE=English_United 
States.1252;LC_MONETARY=English_United 
States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base


 > sessionInfo()
R version 2.7.1 (2008-06-23)
i386-pc-mingw32

locale:
LC_COLLATE=English_United States.1252;LC_CTYPE=English_United 
States.1252;LC_MONETARY=English_United 
States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base


Jenny Drnevich, Ph.D.

Functional Genomics Bioinformatics Specialist
W.M. Keck Center for Comparative and Functional Genomics
Roy J. Carver Biotechnology Center
University of Illinois, Urbana-Champaign

330 ERML
1201 W. Gregory Dr.
Urbana, IL 61801
USA

ph: 217-244-7355
fax: 217-265-5066
e-mail: drnevich at illinois.edu



More information about the R-help mailing list