[R] trouble printing from graphics device in R 2.7.2

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Sep 12 20:32:09 CEST 2008


I've tracked this down to the clipping bug fix reported in the CHANGES 
file.  There is another bug fix in R-devel that does not affect printing, 
so your first option is to use one of the R-devel snapshots on CRAN.

I'll move the R-devel fix to R-patched shortly, so tonight's R-patched 
snapshot should also work.

On Wed, 10 Sep 2008, Jenny Drnevich wrote:

> 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
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
Brian D. Ripley,                  ripley at 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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list