Closed itsdalmo closed 8 years ago
Hi
Sorry, I can see the issue in the pptx you sent but I can't reproduce your issue:
rescale_none
cannot be foundAbout the panel background, I can't see any differences between png and vector graphics, but if you want a transparent background, use bg = "transparent"
with addPlot
.
Hi again,
Very sorry, I forgot to add scales::
in front of rescale_none
. Updated the example code in the original post. I also managed to reproduce the problem on a new Windows computer (sessioninfo below).
Thanks for clearing up the problem I had with transparent backgrounds also; setting bg = "transparent"
fixed it. This is a new argument to addPlot
, correct?
R version 3.2.1 (2015-06-18)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 8 x64 (build 9200)
locale:
[1] LC_COLLATE=Norwegian Bokmål_Norway.1252 LC_CTYPE=Norwegian Bokmål_Norway.1252
[3] LC_MONETARY=Norwegian Bokmål_Norway.1252 LC_NUMERIC=C
[5] LC_TIME=Norwegian Bokmål_Norway.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] ggplot2_2.1.0 dplyr_0.4.3.9000 gdtools_0.0.7
loaded via a namespace (and not attached):
[1] Rcpp_0.12.3 magrittr_1.5 knitr_1.12.3 xml2_0.1.2 ReporteRsjars_0.0.2
[6] munsell_0.4.3 colorspace_1.2-6 xtable_1.8-2 R6_2.1.2 plyr_1.8.3
[11] tools_3.2.1 parallel_3.2.1 grid_3.2.1 gtable_0.2.0 rvg_0.0.7
[16] R.oo_1.20.0 png_0.1-7 DBI_0.3.1 htmltools_0.3 lazyeval_0.1.10.9000
[21] assertthat_0.1 digest_0.6.9 rJava_0.9-8 shiny_0.13.1 ReporteRs_0.8.5
[26] R.utils_2.2.0 mime_0.4 labeling_0.3 openxlsx_3.0.0 scales_0.4.0
[31] R.methodsS3_1.7.1 httpuv_1.3.3
ok thanks, I can reproduce your issue
yes, bg
is a new argument, it is used by rvg device
Sorry for that, (bug with rectangle clipping)... It should be ok now. Could you try with the github version please?
David
Tested it now, and it checks out for all the examples I made - as well as some other slides. Thank you very much!.
Ps while I have your attention: ReporteRs
states that addMarkdown
is depreciated. What is the replacement?
cool
Yes, addMarkdown is deprecated, I will try to replace it with commonmark package later
Issues
theme(panel.background = element_blank())
is specified for the plot. This did not use to be an issue before the latest release on CRAN. You have to look at the examples to see this issue.ggplot2
when usinggeom_bar
(possible other geoms as well) with manually specified limits on y-axis (possibly x-axis also). See pictures below, where PNG is the correct output.Example output
ReporteRs - blank_canvas.pptx RVG - blank_canvas.pptx ReporteRs - ylimited_regular barchart.pptx RVG - ylimited_regular barchart.pptx ReporteRs - ylimited_stacked barchart.pptx RVG - ylimited_stacked barchart.pptx
Example code