[R] Problems with svg() exporting graphics with gradients
Calliste DORLEANS
c@|||@te@dor|e@n@ @end|ng |rom gm@||@com
Thu Apr 3 14:24:35 CEST 2025
Hello,
My name is Calliste, I am a postgraduate student in data analysis and I use
R and R Studio as a daily tool for my work and studies. I am used to
exporting my plots with the svg() function from the grDevices package. I
noticed since February 2025 that the ggplot graphics containing gradients
are not correctly vectorised (see below the difference between the graphics
from November 2024 and February 2025) when exported with the svg() function
and are thus of a lesser quality. However, it seems to not happen when
using a basic plot() function and it doesn't happen either with ggplot
graphics that don't contain a gradient variable. I looked for solutions on
the Internet, but I didn't find any information, that is why I contacted
you. I don't know if the package has had some recent updates, but it would
be of great help for me if you have any idea how to fix this.
Thanks in advance for your help,
Sincerely,
Calliste Dorléans
graph_doub.svg is from November 2024
graph_serie.svg is from February 2025
More information about the R-help
mailing list