Hi thereI can compile your example without any tweaks, hence could not reproduce any error.cheersHeinrich———R version 4.2.0 (2022-04-22) -- "Vigorous Calisthenics"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin17.0 (64-bit)
[R.app GUI 1.78 (8075) x86_64-apple-darwin17.0]
> svg("/Users/hp/filename.svg");
> plot(rnorm(200));
> dev.off()
null device
1
>———% !TEX program = lmtx
\starttext
\externalfigure[/Users/hp/filename.svg][conversion=mp]
\stoptext———On 9. May 2022, at 08:10, Thangalin via ntg-context <ntg-context@ntg.nl> wrote:___________________________________________________________________________________Here's a screenshot comparing ConTeXt's PDF output (left) with KeenWrite's preview for the same SVG document:I've filed a bug against Renjin's SVG exporter.Any guidance on how to fix this is greatly appreciated.
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________