[R] .eps files and powerpoint
Marc Schwartz
marc_schwartz at me.com
Thu Jul 25 18:44:02 CEST 2013
Rich,
That's scary. Well, I could make a comment about Vista, but that would take us in a whole new direction... ;-)
As far as GS, for an EPS file to a PNG, try something along the lines of:
gs -dSAFER -dBATCH -dNOPAUSE -r300 -dEPSCrop -sDEVICE=png16m -sOutputFile=file.png file.eps
That seems to work for me on OSX.
Regards,
Marc
On Jul 25, 2013, at 11:30 AM, Richard M. Heiberger <rmh at temple.edu> wrote:
> On Vista with Powerpoint 2007, file2.eps crashes powerpoint,
> Once file.eps displayed, several times it crashed powerpoint.
>
> My task is now to see if ghostscript can read a pdf or ps or eps and
> convert it to png at res=300.
> Do you know the incantation for that?
>
>
> Rich
>
>
> On Thu, Jul 25, 2013 at 10:56 AM, Rmh <rmh at temple.edu> wrote:
>
>> i have parallels 8 as the vm.
>> i can try a native pc this afternoon.
>>
>> Sent from my iPhone
>>
>> On Jul 25, 2013, at 10:42, Marc Schwartz <marc_schwartz at me.com> wrote:
>>
>>> Rich,
>>>
>>> Any chance that you have access to a native Windows machine or to a
>> colleague that does to try the files.
>>>
>>> I am wondering if there is any chance that there is something about
>> running Office in Windows under a VM on OSX that might be involved in some
>> manner.
>>>
>>> BTW, which VM (VMWare, Parallels, VirtualBox or ?) are you using?
>>>
>>> Marc
>>>
>>> On Jul 25, 2013, at 9:03 AM, Richard M. Heiberger <rmh at temple.edu>
>> wrote:
>>>
>>>> The Header and Prolog of both file.eps and file2.eps are the same.
>>>>
>>>>
>>>> On Thu, Jul 25, 2013 at 9:56 AM, Richard M. Heiberger <rmh at temple.edu
>>> wrote:
>>>>
>>>>> file2.eps opens as a graph in windows PP 2010 and as an icon in PP
>> 2013.
>>>>>
>>>>> RPlot2.pptx <https://www.dropbox.com/s/snm7cb9chrkcrff/RPlot2.pptx>
>> opens
>>>>> as a graph in both windows PP and in Mac PP.
>>>>>
>>>>>
>>>>> On Wed, Jul 24, 2013 at 2:39 PM, Marc Schwartz <marc_schwartz at me.com
>>> wrote:
>>>>>
>>>>>> Rich,
>>>>>>
>>>>>> I don't have direct access to Windows and I don't run a VM on my Mac.
>>>>>>
>>>>>> I e-mailed two PPTX files created on my Mac (Office 2011) to a
>> colleague
>>>>>> who has Office 2010 on his Windows laptop. The first was the file on
>>>>>> DropBox that I linked earlier, with the regular plot. The second is
>> this
>>>>>> PPTX file:
>>>>>>
>>>>>> https://www.dropbox.com/s/snm7cb9chrkcrff/RPlot2.pptx
>>>>>>
>>>>>> which contains this EPS file created with the barchart() code that you
>>>>>> had below:
>>>>>>
>>>>>> https://www.dropbox.com/s/ujchnft7q3aa3pw/file2.eps
>>>>>>
>>>>>> I went over to his office and he could open both PPTX files on his
>> laptop
>>>>>> and both of the embedded EPS plots were viewable without issue.
>>>>>>
>>>>>> Can you open the PPTX file that I created above on your Windows
>> instance?
>>>>>>
>>>>>> Marc
>>>>>>
>>>>>>
>>>>>> On Jul 24, 2013, at 12:56 PM, Rmh <rmh at temple.edu> wrote:
>>>>>>
>>>>>>> office 2011 on mac, 2013 on windows.
>>>>>>>
>>>>>>> i see the same misbehavior in base and lattice.
>>>>>>> my standard simple test is
>>>>>>> plot(1:10)
>>>>>>> which is base.
>>>>>>>
>>>>>>> did you try the windows side yet?
>>>>>>>
>>>>>>> Rich
>>>
>>>
>>>
>>> <snip of prior content>
>>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> 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.
More information about the R-help
mailing list