[R] Expression

Barry Rowlingson B.Rowlingson at lancaster.ac.uk
Thu Nov 30 18:56:03 CET 2006


Guenther, Cameron wrote:

> The code I tried was 
> text(Dstar+7,120,expression(paste({}D,^*))), but that doesn't work and I
> get a syntax error.
>  
> I can't seem to find anything in the help files that explains it.

  > plot(1:10)
  > text(8,5,expression(D[obs]^"*"))

works for me...

Barry



More information about the R-help mailing list