Re: [R] converting strings to expressions

From: Richard M. Heiberger <>
Date: Thu 14 Sep 2006 - 19:54:47 GMT

sapply(estr, FUN=function(x) parse(text=x))

and it does print the greek letter in the xlab.

xyplot(1:10 ~ 1:10,

       scales = list(x = list(at = c(3, 6),
                     labels = sapply(estr, FUN=function(x) parse(text=x)))))

Rich mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Fri Sep 15 06:02:20 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 14 Sep 2006 - 20:30:08 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.