Re: [Rd] point size in svg

2019-06-19 Thread David Winsemius
On 6/19/19 8:19 AM, Spencer Graves wrote: Hello, All:   I'm unable to control the font size in plots to svg. Consider the following: svg('cex-svg.svg') cex. <- 5 plot(1:2, cex.axis=cex.) text(1:2, 1:2, c('as', 'DF'),   cex=cex.) dev.off()   When I open this in Gimp 2.10.

Re: [Rd] point size in svg

2019-06-19 Thread Peter Langfelder
Unless this is something Apple-specific, the problem seems to be with Gimp, not with R. On my system (linux), opening your examples with either firefox or inkscape shows huge letters. At least firefox should be able to open the svg on a Mac as well. BTW, Gimp on linux does not open your cex-svg.svg

[Rd] point size in svg

2019-06-19 Thread Spencer Graves
Hello, All:   I'm unable to control the font size in plots to svg.  Consider the following: svg('cex-svg.svg') cex. <- 5 plot(1:2, cex.axis=cex.) text(1:2, 1:2, c('as', 'DF'),   cex=cex.) dev.off()   When I open this in Gimp 2.10.4, the font size is tiny.  I also tried:

Re: [Rd] Fast way to call an R function from C++?

2019-06-19 Thread Iñaki Ucar
On Wed, 19 Jun 2019 at 07:42, King Jiefei wrote: > > Hello Kevin and Iñaki, > > Thanks for your quick responses. I sincerely appreciate them! I can see how > complicated it is to interact with R in C. Iñaki's suggestion is very > helpful, I saw there is a lot of performance gain by turning the f