Render SVG Images into PDF, PNG, (Encapsulated) PostScript, or Bitmap Arrays

Renders vector-based svg images into high-quality custom-size bitmap arrays using 'librsvg2'. The resulting bitmap can be written to e.g. png, jpeg or webp format. In addition, the package can convert images directly to various formats such as pdf or postscript.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("rsvg")

2.7.0 by Jeroen Ooms, a year ago


https://docs.ropensci.org/rsvg/, https://github.com/ropensci/rsvg


Report a bug at https://github.com/ropensci/rsvg/issues


Browse source code at https://github.com/cran/rsvg


Authors: Jeroen Ooms [aut, cre] , Salim Brüggemann [ctb]


Documentation:   PDF Manual  


MIT + file LICENSE license


Suggests ggplot2, knitr, magick, rmarkdown, spelling, svglite, testthat, webp, png

System requirements: librsvg2 (at least version 2.52)


Imported by AdhereR, LearnVizLMM, NHSRplotthedots, ODT, PRISMA2020, PaRe, RIdeogram, actel, camcorder, chess, cohorttools, colorfindr, dtrackr, favawesome, ggicons, ggpop, gofigR, kstMatrix, metainsight, netSEM, nocturn, pikchr, rphylopic, statuser, svgtools, tidycharts, vennDiagramLab, vtree, wikiprofiler.

Depended on by integr.

Suggested by ArchaeoPhases, CDSS, CohortCharacteristics, DiagrammeR, PhenotypeR, PubChemR, RGraphics, Rage, Rgff, UnalR, aion, altair, ananke, autoslider.core, badgen, cSEM, canpumf, cardargus, clustGLMM, cograph, controlcharts, cvms, dataquieR, deeptimedata, dimensio, fontawesome, ggextreme, ggfixest, ggimage, ggpath, ggrepel, ggspark, ggsql, grImport2, grainscape, greta, gridmicrotex, gt, hexsession, icons, isopleuros, kairos, khroma, laminr, lavaanExtra, lavaanPlot, logolink, magick, marginaleffects, marquee, matchpointR, maths.genealogy, mlbplotR, modeldiagramR, modelsummary, munch, nVennR2, nexus, nflplotR, officer, orisma, partialling.out, parttree, pcutils, plotly, primer, processmapR, qrcode, querychat, rdecision, sdbuildR, slendr, surreal, tabula, tinyplot, tinysnapshot, tmap, vegawidget, xgboost.

Enhanced by seminr, umx.


See at CRAN