Dear useRs, A colleague of mine is having a problem with graphic devices. The goal is to save into a vector graphic format that can be edited with Illustrator CS4. On my Mac (Snow Leopard), I use RSvgDevice::devSVG() and it works fine. But on her Windows Vista computer, I cannot find an alternative.> sessionInfo() R version 3.2.2 (2015-08-14) Platform: i386-w64-mingw32/i386 (32-bit) Running under: Windows Vista (build 6002) Service Pack 2 I have tried: - pdf(): I cannot dissociate the graphical elements (no problem with text) - cairo_pdf(): the text is replaced by symbols - cairo_ps(): fine except that the text is not text but object (it is then a bit troublesome, as any text modification requires the text to be completely rewritten) - svg(): the graphic is completely screwed up (it seems to be a scaling problem, with symbols and letters all very large and superposed) - RSvgDevice cannot be installed on the Windows machine, neither as binary nor from source. Is there any other device that could work? If not, is it a matter of settings? So, basically, what can I do? Thank you in advance, Ivan -- Ivan Calandra, PhD University of Reims Champagne-Ardenne GEGENAA - EA 3795 CREA - 2 esplanade Roland Garros 51100 Reims, France +33(0)3 26 77 36 89 ivan.calandra at univ-reims.fr https://www.researchgate.net/profile/Ivan_Calandra
Perhaps the discussion at this link will be helpful ... http://stackoverflow.com/questions/9555889/producing-a-vector-graphics-image-i-e-metafile-in-r-suitable-for-printing-in Jean On Tue, Oct 6, 2015 at 9:42 AM, Ivan Calandra <ivan.calandra at univ-reims.fr> wrote:> Dear useRs, > > A colleague of mine is having a problem with graphic devices. The goal is > to save into a vector graphic format that can be edited with Illustrator > CS4. > > On my Mac (Snow Leopard), I use RSvgDevice::devSVG() and it works fine. > But on her Windows Vista computer, I cannot find an alternative.> > sessionInfo() > R version 3.2.2 (2015-08-14) > Platform: i386-w64-mingw32/i386 (32-bit) > Running under: Windows Vista (build 6002) Service Pack 2 > > I have tried: > - pdf(): I cannot dissociate the graphical elements (no problem with text) > - cairo_pdf(): the text is replaced by symbols > - cairo_ps(): fine except that the text is not text but object (it is then > a bit troublesome, as any text modification requires the text to be > completely rewritten) > - svg(): the graphic is completely screwed up (it seems to be a scaling > problem, with symbols and letters all very large and superposed) > - RSvgDevice cannot be installed on the Windows machine, neither as binary > nor from source. > > Is there any other device that could work? If not, is it a matter of > settings? So, basically, what can I do? > > Thank you in advance, > Ivan > > -- > Ivan Calandra, PhD > University of Reims Champagne-Ardenne > GEGENAA - EA 3795 > CREA - 2 esplanade Roland Garros > 51100 Reims, France > +33(0)3 26 77 36 89 > ivan.calandra at univ-reims.fr > https://www.researchgate.net/profile/Ivan_Calandra > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >[[alternative HTML version deleted]]
Thanks Jean for the tip. I'll try postscript() and devEMF::emf() and see if it works. Still, it's very complicated to export vector graphics in R... Ivan -- Ivan Calandra, PhD University of Reims Champagne-Ardenne GEGENAA - EA 3795 CREA - 2 esplanade Roland Garros 51100 Reims, France +33(0)3 26 77 36 89 ivan.calandra at univ-reims.fr https://www.researchgate.net/profile/Ivan_Calandra Le 07/10/15 00:16, Adams, Jean a ?crit :> Perhaps the discussion at this link will be helpful ... > http://stackoverflow.com/questions/9555889/producing-a-vector-graphics-image-i-e-metafile-in-r-suitable-for-printing-in > > Jean > > On Tue, Oct 6, 2015 at 9:42 AM, Ivan Calandra > <ivan.calandra at univ-reims.fr <mailto:ivan.calandra at univ-reims.fr>> wrote: > > Dear useRs, > > A colleague of mine is having a problem with graphic devices. The > goal is to save into a vector graphic format that can be edited > with Illustrator CS4. > > On my Mac (Snow Leopard), I use RSvgDevice::devSVG() and it works > fine. > But on her Windows Vista computer, I cannot find an alternative.> > sessionInfo() > R version 3.2.2 (2015-08-14) > Platform: i386-w64-mingw32/i386 (32-bit) > Running under: Windows Vista (build 6002) Service Pack 2 > > I have tried: > - pdf(): I cannot dissociate the graphical elements (no problem > with text) > - cairo_pdf(): the text is replaced by symbols > - cairo_ps(): fine except that the text is not text but object (it > is then a bit troublesome, as any text modification requires the > text to be completely rewritten) > - svg(): the graphic is completely screwed up (it seems to be a > scaling problem, with symbols and letters all very large and > superposed) > - RSvgDevice cannot be installed on the Windows machine, neither > as binary nor from source. > > Is there any other device that could work? If not, is it a matter > of settings? So, basically, what can I do? > > Thank you in advance, > Ivan > > -- > Ivan Calandra, PhD > University of Reims Champagne-Ardenne > GEGENAA - EA 3795 > CREA - 2 esplanade Roland Garros > 51100 Reims, France > +33(0)3 26 77 36 89 > ivan.calandra at univ-reims.fr <mailto:ivan.calandra at univ-reims.fr> > https://www.researchgate.net/profile/Ivan_Calandra > > ______________________________________________ > R-help at r-project.org <mailto:R-help at r-project.org> mailing list -- > To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > >