On 18/08/2009, Gavin Simpson <gavin.simp...@ucl.ac.uk> wrote: > On Mon, 2009-08-17 at 11:51 +0100, e-letter wrote: >> Readers, >> >> Previous questions about this requirement have been for m$ users, my >> failure occurs using linux. >> >> I have tried to add the delta (δ) symbol to the y axis label and the >> result is &D, using the command: >> >> ...ylab="δt"... > > Works for me on Fedora 11 with the font packages mentioned in R > Installation and Admin manual. > >> sessionInfo() > R version 2.9.1 Patched (2009-08-07 r49104) > x86_64-unknown-linux-gnu > > locale: > LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=C;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C > > attached base packages: > [1] stats graphics grDevices utils datasets methods base > >> >> Any advice please? > > plot(1:10, ylab = expression(delta*t)) > > ?plotmath > > If your question is rather why doesn't the "δ" glyph you enter at the > keyboard show up in the plot, I'm afraid I can't help. Perhaps something > to do with UTF-8 and locales and the available symbol set on the device > you are plotting on, but you'll need to provide more information (of the > sort requested in the posting guide) on your system and set-up. > my locale: locale: LC_CTYPE=en_GB.UTF-8;LC_NUMERIC=C;LC_TIME=en_GB.UTF-8;LC_COLLATE=en_GB.UTF-8;LC_MONETARY=en_GB.UTF-8;LC_MESSAGES=en_GB.UTF-8;LC_PAPER=en_GB.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_GB.UTF-8;LC_IDENTIFICATION=C
Doesn't seem that the locale is at fault? I was plotting on the default x11 window. ______________________________________________ R-help@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.