Re: [R] Sys.setlocale() and text()

2007-12-12 Thread Prof Brian Ripley
On Wed, 12 Dec 2007, Ed Merkle wrote: > Thanks very much for the response. I think I left out an important > detail, however. > > I want my lowercase sigma to be displayed in a specific font from the > Rdevga file (my project involves fonts). So far as I know, quote() does > not allow me to sele

Re: [R] Sys.setlocale() and text()

2007-12-12 Thread Gabor Grothendieck
Try this: plot(1:10) vf <- c("serif", "plain") text(5.5, 5, "\\*s", vfont=vf) ?Hershey On Dec 12, 2007 10:20 AM, Ed Merkle <[EMAIL PROTECTED]> wrote: > Thanks very much for the response. I think I left out an important > detail, however. > > I want my lowercase sigma to be displayed in a specifi

Re: [R] Sys.setlocale() and text()

2007-12-12 Thread Ed Merkle
Thanks very much for the response. I think I left out an important detail, however. I want my lowercase sigma to be displayed in a specific font from the Rdevga file (my project involves fonts). So far as I know, quote() does not allow me to select a font. Thus, I am specifically interested

Re: [R] Sys.setlocale() and text()

2007-12-11 Thread Gabor Grothendieck
Try this: plot(1:10, main = quote(sigma ^ 2)) On Dec 11, 2007 10:09 PM, Ed Merkle <[EMAIL PROTECTED]> wrote: > Dear HelpeRs, > > I have a question about the Sys.setlocale() command and plotting. I am > running Windows XP, with R 2.6.1. My default locale is English_United > States.1252. > > I a

[R] Sys.setlocale() and text()

2007-12-11 Thread Ed Merkle
Dear HelpeRs, I have a question about the Sys.setlocale() command and plotting. I am running Windows XP, with R 2.6.1. My default locale is English_United States.1252. I am trying to add a lowercase sigma to a plot using the following code: Sys.setlocale("LC_CTYPE","greek") plot(1:10,1:10) t