Re: [R] grid.table and expression in table body?

2010-08-17 Thread Johannes Graumann
Hi - I can't get this figured out ... Thanks for any hint. Joh load(/tmp/AbsoluteTable.Rdata) absolutetable library(gridExtra) grid.table(absoluteTable)#Works grid.table(absoluteTable,parse=TRUE) Error in parse(text = d[ii]) : unexpected symbol in Survey Scans sessionInfo() R version

Re: [R] grid.table and expression in table body?

2010-08-17 Thread baptiste auguie
On 17 August 2010 18:38, Johannes Graumann johannes_graum...@web.de wrote: Hi - I can't get this figured out ... Thanks for any hint. The parse=TRUE argument means that all the table content will be parsed and interpreted as expression. In your content you have invalid expressions (e.g. text

Re: [R] grid.table and expression in table body?

2010-08-04 Thread baptiste Auguié
Try this, source(http://gridextra.googlecode.com/svn/trunk/inst/test/expressions.r;) library(grid) e = expression(p[Wilcoxon], *2.2%*%10^{-16}) grid.expr(e) HTH, baptiste On Aug 4, 2010, at 9:56 AM, Johannes Graumann wrote: Hi Baptiste, This is, I fear a bit beyond my level of competency

Re: [R] grid.table and expression in table body?

2010-08-04 Thread baptiste Auguié
I added a parse argument to grid.table so that when switched to TRUE (default FALSE) all the text strings are interpreted as expressions (inspired by ggplot2::geom_text), d - data.frame(alpha, beta) grid.table(d, parse=T) you'll need revision 258 of gridExtra for this to work (googlecode now,

Re: [R] grid.table and expression in table body?

2010-08-04 Thread Johannes Graumann
Great! I will give it a try ASAP! Thanks! Joh On Wednesday 04 August 2010 16:47:12 baptiste Auguié wrote: I added a parse argument to grid.table so that when switched to TRUE (default FALSE) all the text strings are interpreted as expressions (inspired by ggplot2::geom_text), d -

[R] grid.table and expression in table body?

2010-08-03 Thread Johannes Graumann
Hi, Is there any way to get an expression into a data.frame, such that grid.table from gridExtra will plot it evaluated in the table body? The docu does it for the header, but is the body possible? Thanks, Joh __ R-help@r-project.org mailing list