Re: [R-SIG-Mac] Unicode characters in script?

2011-08-11 Thread Michael Hoban
In my first posting, I didn't know there were two different graphics output mechanisms at work. In my second, I had found that out. The same code in two places uses different back-ends, and produces different output results, and it was by no means immediately apparent that that's the case. I meant

Re: [R-SIG-Mac] Unicode characters in script?

2011-08-11 Thread Prof Brian Ripley
On Thu, 11 Aug 2011, Simon Urbanek wrote: On Aug 11, 2011, at 2:35 PM, Michael Hoban wrote: Hi all- I tried searching before posting, but this is one of those tricky questions to search for. My issue is this: within the R.app gui, I can use extended characters in plot labels without any issu

Re: [R-SIG-Mac] Unicode characters in script?

2011-08-11 Thread Simon Urbanek
On Aug 11, 2011, at 2:35 PM, Michael Hoban wrote: > Hi all- > > I tried searching before posting, but this is one of those tricky > questions to search for. My issue is this: within the R.app gui, I can > use extended characters in plot labels without any issue (specifically > in my case the ∂,

Re: [R-SIG-Mac] Unicode characters in script?

2011-08-11 Thread Michael Hoban
I have, it doesn't seem to make a difference. It looks like the problem concerns the PDF output device being used from Rscript as opposed to quartz in R.app. On Thu, Aug 11, 2011 at 1:26 PM, R Erickson wrote: > Mylke, > > Have you tried using the "\u###" tool, where ### is the Unicode number? For

Re: [R-SIG-Mac] Unicode characters in script?

2011-08-11 Thread R Erickson
Mylke, Have you tried using the "\u###" tool, where ### is the Unicode number? For example, plot(c(1:10) ~ c(1:10), main="\u2202 foobie bletch \u0192") produces a del character and italics function "f". You may wish to use different Unicode characters, but these were the first character codes I

[R-SIG-Mac] Unicode characters in script?

2011-08-11 Thread Michael Hoban
Hi all- I tried searching before posting, but this is one of those tricky questions to search for. My issue is this: within the R.app gui, I can use extended characters in plot labels without any issue (specifically in my case the ∂, lowercase delta), for example: > plot(c(1:10) ~ c(1:10), main="