postscript with horizontal=TRUE should add %%Orientation: Landscape

Bug #137035 reported by Manuel López-Ibáñez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
r-base (Ubuntu)
Invalid
Wishlist
Unassigned

Bug Description

Binary package hint: r-base

ctl <- c(4.17,5.58,5.18,6.11,4.50,4.61,5.17,4.53,5.33,5.14)
trt <- c(4.81,4.17,4.41,3.59,5.87,3.83,6.03,4.89,4.32,4.69)
group <- gl(2,10,20, labels=c("Ctl","Trt"))
weight <- c(ctl, trt)
lm.D9 <- lm(weight ~ group)
postscript("anova-h.ps", height = 4.5, width = 6,
            horizontal=T, paper="special", pointsize=11,
          family="NimbusSan")
plot(lm.D9, las = 1) # Residuals, Fitted, ...
dev.off()
postscript("anova.ps", height = 4.5, width = 6,
            horizontal=F, paper="special", pointsize=11,
          family="NimbusSan")
plot(lm.D9, las = 1) # Residuals, Fitted, ...
dev.off()

The file "anova-h.ps" should contain the line:
%%Orientation: Landscape
otherwise viewers such as "gv" cannot guess what is the correct orientation to display.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 beta or later?

Changed in r-base:
importance: Undecided → Wishlist
status: New → Incomplete
Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote :

This is still reproducible in Hardy. I am not going to upgrade to Intrepid just yet but it should be easy to check for anyone by pasting and copying the following in a console (you r-base and littler, perhaps more R packages)

r << EOF
 ctl <- c(4.17,5.58,5.18,6.11,4.50,4.61,5.17,4.53,5.33,5.14)
 trt <- c(4.81,4.17,4.41,3.59,5.87,3.83,6.03,4.89,4.32,4.69)
 group <- gl(2,10,20, labels=c("Ctl","Trt"))
 weight <- c(ctl, trt)
 lm.D9 <- lm(weight ~ group)
 postscript("anova-h.ps", height = 4.5, width = 6,
             horizontal=T, paper="special", pointsize=11,
           family="NimbusSan")
 plot(lm.D9, las = 1) # Residuals, Fitted, ...
 dev.off()
 postscript("anova.ps", height = 4.5, width = 6,
             horizontal=F, paper="special", pointsize=11,
           family="NimbusSan")
plot(lm.D9, las = 1) # Residuals, Fitted, ...
dev.off()
EOF
grep -F "%%Orientation: Landscape" anova-h.ps

Changed in r-base:
status: Incomplete → New
Revision history for this message
Thomas Hotz (thotz-deactivatedaccount) wrote :

Is this reproduceable in Ubuntu 12.04 LTS?

Changed in r-base (Ubuntu):
status: New → Incomplete
Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote :

Yes, it is still reproducible. But I am closing it because I don't expect anyone from Ubuntu to ever fix this bug or any R developers to ever look into launchpad for bug reports. So it is more noise than useful.

Also, I am using only PDF output now, so I don't even see the point to open a report in R bugzilla.

Changed in r-base (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote :

Hum, I feel now that my comment may sound angry, which is not what I intended. I just want to say that the bug is not important enough to keep it open here.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.