[R] Printing Unicode characters in a PDF document

David Winsemius dwinsemius at comcast.net
Sat Mar 20 19:53:03 CET 2010


Sorry for the noise. I did not read to the end and then pasted the  
wrong code in as well.

I intended to post a suggestion to use:

text(1,1, expression(mu))

I'm guessing it is happening because different fonts or families are  
being used for quartz and pdf devices. But I am not skilled at  
managing fonts.

-- 
David.

On Mar 20, 2010, at 2:38 PM, David Winsemius wrote:

> ?plotmath
>
> Try instead:
>
>> pdf("mu.pdf")
>> plot(1,1, type="n")
>> text(1,1, "\u3BC")
>> dev.off()
>
> On Mar 20, 2010, at 2:16 PM, Dennis Fisher wrote:
>
>>> pdf("mu.pdf")
>>> plot(1,1, type="n")
>>> text(1,1, "\u3BC")
>>> dev.off()
>
> David Winsemius, MD
> West Hartford, CT


David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list