Re: [Rpy] example of "expression"?

2007-05-16 Thread Gregory Warnes
Hello John, The correct syntax for this in R is: axis(1, at=1:5, labels=expression(1^10, 2^10, 3^10, 4^10, 5^10)) Note that expression() expects actual R syntax and not strings. To handle strings you would need to do axis(1, at=1:5, labels=parse(text=c("1^10", "2^10", "3^1

Re: [Rpy] example of "expression"?

2007-05-16 Thread John Owens
Gregory Warnes mac.com> writes: > The best way to accomplish this task using RPy is to write a little R > wrapper function and call that from RPy: Wow, thanks, that's spot-on. I would have had a lot of difficulty figuring that out on my own! Good FAQ, perhaps, that seems tricky. JDO ---