[R] I can't with expression

Paul Murrell p.murrell at auckland.ac.nz
Tue Apr 27 01:11:32 CEST 2010


Hi

How about ... ?

library(grid)
# grid.newpage()
grid.text(expression(italic(P[SF]^{""%up%""})))

... or possibly a bit easier to read ...

grid.text(expression(italic(P[SF]^symbol("\255"))))

Paul

salcaraz at obelix.umh.es wrote:
> Hi all,
> 
> I need an R expression, expression(....) to get the follows Latex code:
> $P^\uparrow_{SF}$.
> 
> Imposible, for me!!. 
> Thank you in advance
> /salva
> 
> ______________________________________________
> 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.

-- 
Dr Paul Murrell
Department of Statistics
The University of Auckland
Private Bag 92019
Auckland
New Zealand
64 9 3737599 x85392
paul at stat.auckland.ac.nz
http://www.stat.auckland.ac.nz/~paul/



More information about the R-help mailing list