[R] trouble printing from graphics device in R 2.7.2

Tom Fletcher tom.fletcher.mp7e at statefarm.com
Wed Sep 17 17:31:05 CEST 2008


Is there a setting change (or other minor fix) that can be done without
an install of either the patched or development versions to address the
printing issue described below. It is my understanding that these
versions are 'source code' and not compiled for 'easy' installation. 

Thanks
Tom

 

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
On Behalf Of Jenny Drnevich
Sent: Tuesday, September 16, 2008 8:47 AM
To: Prof Brian Ripley
Cc: r-help at r-project.org
Subject: Re: [R] trouble printing from graphics device in R 2.7.2

Thank you! It works now. It's good to know that it was a bug and not
something stupid that I was doing.

Cheers,
Jenny

At 01:32 PM 9/12/2008, Prof Brian Ripley wrote:
>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

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



More information about the R-help mailing list