Re: [Rcpp-devel] grDevices issue with RInside

2017-08-16 Thread Dirk Eddelbuettel
On 16 August 2017 at 19:50, Jonathon Love wrote: | hi dirk, | | i've got it! | | Rst.rhome is assigned here from getenv() (and no copy is made): | | https://github.com/eddelbuettel/rinside/blob/d94b999b1f9a5b9a7c1eaefc89abe40ea0d2d4d2/src/RInside.cpp#L164 | | It makes it's way down inside of

Re: [Rcpp-devel] grDevices issue with RInside

2017-08-16 Thread Jonathon Love
hi dirk, i've got it! Rst.rhome is assigned here from getenv() (and no copy is made): https://github.com/eddelbuettel/rinside/blob/d94b999b1f9a5b9a7c1eaefc89abe40ea0d2d4d2/src/RInside.cpp#L164 It makes it's way down inside of R, and is assigned to R_Home: https://github.com/wch/r-source/blob/

Re: [Rcpp-devel] grDevices issue with RInside

2017-08-15 Thread Jonathon Love
hi dirk, Might it be that you are shooting the messenger? You see the issue via RInside as you implemented it via RInside. But we "merely" give you access to the embedded R instance, and methinks that the issue may be with ggjoy and/or the pdf() device. Are you really sure RInside plays any par

[Rcpp-devel] grDevices issue with RInside

2017-08-15 Thread Jonathon Love
hi dirk, i'm having an issue with grDevices, but the issue only seems to appear when i using my library with RInside on windows. one of the packages we use (ggjoy) calls the grDevices::pdf() function, which tries to load the enc/WinAnsi.enc file from grDevices package. however, as can be see

Re: [Rcpp-devel] grDevices issue with RInside

2017-08-15 Thread Dirk Eddelbuettel
Hi Jonathon, On 15 August 2017 at 19:46, Jonathon Love wrote: | i'm having an issue with grDevices, but the issue only seems to appear | when i using my library with RInside on windows. | | one of the packages we use (ggjoy) calls the grDevices::pdf() function, | which tries to load the enc/Wi

[Rcpp-devel] grDevices issue with RInside

2017-08-15 Thread Jonathon Love
hi dirk, i'm having an issue with grDevices, but the issue only seems to appear when i using my library with RInside on windows. one of the packages we use (ggjoy) calls the grDevices::pdf() function, which tries to load the enc/WinAnsi.enc file from grDevices package. however, as can be see