Kimpel, Mark William
2006-Aug-31 15:27 UTC
[R] problem with postscript output of R-devel on Windows
I have developed a problem with the postscript output of plot on Windows. My code still works properly with R 2.3 but, with R 2.4, the white text on red background does not show up. It does, however, show up when output is sent to the screen. Below is my code and sessionInfo. R version 2.4.0 Under development (unstable) (2006-08-29 r39012) 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] "splines" "tools" "methods" "stats" "graphics" "grDevices" "utils" "datasets" [9] "base" other attached packages: Rgraphviz geneplotter XML GOstats Category hgu95av2 KEGG multtest xtable "1.11.9" "1.11.8" "0.99-8" "1.6.0" "1.4.1" "1.12.0" "1.8.1" "1.11.2" "1.3-2" RBGL annotate GO graph Ruuid limma genefilter survival rat2302 "1.8.1" "1.11.5" "1.6.5" "1.11.13" "1.11.2" "2.7.9" "1.11.8" "2.28" "1.12.0" affy affyio Biobase "1.11.6" "1.1.8" "1.11.29" fileName<-paste(experiment, contrast, "FDR", FDR, "Graph", "ps", sep=".") postscript(file=fileName, paper="special",width=width, height=height) #set up graphics device plot(result.gN, layout.param, nodeAttrs = nAttrs, edgeAttrs = eAttrs, main=paste(paste("Experiment:", experiment, "; Contrast:", contrast,"; FDR:", FDR, sep=""), paste("Min. connections ==", min.edges, "Min. citations per connection ==", min.cites, "Additional search criteria:", termAdditional, sep=" "), sep=" ")) Thanks, Mark Mark W. Kimpel MD ?
Duncan Murdoch
2006-Aug-31 16:51 UTC
[R] problem with postscript output of R-devel on Windows
On 8/31/2006 11:27 AM, Kimpel, Mark William wrote:> I have developed a problem with the postscript output of plot on Windows. My code still works properly with R 2.3 but, with R 2.4, the white text on red background does not show up. It does, however, show up when output is sent to the screen. Below is my code and sessionInfo. > > R version 2.4.0 Under development (unstable) (2006-08-29 r39012) > 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] "splines" "tools" "methods" "stats" "graphics" "grDevices" "utils" "datasets" > [9] "base" > > other attached packages: > Rgraphviz geneplotter XML GOstats Category hgu95av2 KEGG multtest xtable > "1.11.9" "1.11.8" "0.99-8" "1.6.0" "1.4.1" "1.12.0" "1.8.1" "1.11.2" "1.3-2" > RBGL annotate GO graph Ruuid limma genefilter survival rat2302 > "1.8.1" "1.11.5" "1.6.5" "1.11.13" "1.11.2" "2.7.9" "1.11.8" "2.28" "1.12.0" > affy affyio Biobase > "1.11.6" "1.1.8" "1.11.29" > > > fileName<-paste(experiment, contrast, "FDR", FDR, "Graph", "ps", sep=".") > postscript(file=fileName, paper="special",width=width, height=height) #set up graphics device > plot(result.gN, layout.param, nodeAttrs = nAttrs, edgeAttrs = eAttrs, > main=paste(paste("Experiment:", experiment, "; Contrast:", contrast,"; FDR:", FDR, sep=""), paste("Min. connections ==", min.edges, "Min. citations per connection ==", min.cites, "Additional search criteria:", > termAdditional, sep=" "), sep=" "))Could you put together a reproducible example to illustrate the problem? We don't have all the variables used in that example. I think you should be able to do it with just base packages attached; if not, it's likely a problem with one of the contributed packages, rather than with R. Duncan Murdoch
Possibly Parallel Threads
- Rgraphviz: How to control the colours of edges in a graph
- Rgraphviz: Setting the edge width
- Resize edge's label fontsize
- [BioC] problem loading affycoretools (more details)
- trouble installing building packages from source using R 2.6.0 on Ubuntu Gutsy AMD64