Questions tagged [ragg]
7 questions
2
votes
0 answers
How set the size of RStudio's Zoom pane?
I store my plots with ragg with defined sizes and resolution.
ragg::agg_png("Test.png",
res = 320, width = 11, height = 15, units = "in")
If these plots are opened in the Plot Pane or in Zoom the output is
totally different.
On the left is…

MarBlo
- 4,195
- 1
- 13
- 27
2
votes
1 answer
How to make ragg::agg_png device work with ggsave?
When I try to use the new-ish ragg::agg_png() device with ggplot2::ggsave(), the image does not appear to save correctly.
Take the following reprex. I make a simple plot and then save it using the agg_png() function directly, and with ggsave(). The…

Jake Thompson
- 2,591
- 1
- 16
- 32
1
vote
0 answers
Why does my ggplot's text get bigger when I ggsave?
I like to write code in Rmarkdown files and preview my plots inline. When it comes to saving my plots as images though, my actual image doesn't match the inline preview that I see in Rstudio.
Here is a reprex:
#```{r, fig.width=7, fig.asp=.5,…

Philli Phresh
- 31
- 1
1
vote
1 answer
Issue including Greek or special characters in ggplots when using ragg and PNG output
I have a seemingly simple problem which I cannot figure out the cause of. I cannot get Greek characters into the Y/X-axis labels in a ggplot, if I save using the ragg device.
Reprex:
library(ggplot2)
library(ragg)
data("mtcars")
beta_plot <-…

tinker
- 96
- 2
1
vote
1 answer
ragg anti-aliasing for touching polygons
I'm rendering a series of touching polygons with grid and saving this to a png file using the ragg package. Whenever I do this with the ragg package, I get a white grid atop my polygons where they touch.
I assume this to be an anti-aliasing…

teunbrand
- 33,645
- 4
- 37
- 63
0
votes
0 answers
Bar chart in ggplot2 adding logos with ggtextures gets axes mixed up when printed with agg_png
I print the plot with agg_png my prefered function, I have used it previously and works, but with the current chart do not work. When printing the chart it places the axis y where the x axis should be I want the bar chart with the coordinates…

Edwin Acuña
- 5
- 3
-1
votes
1 answer
Installing devtools
I'm trying to install devtools for R in a MacBook (OS 13.0)
Problem is that it doesn't have dependency pkgdown:
ERROR: dependency ‘pkgdown’ is not available for package ‘devtools’
* removing ‘/opt/homebrew/lib/R/4.2/site-library/devtools’
nor ragg…

Caterina
- 775
- 9
- 26