Re: [R] Creating a .png with just an expression() in it

2011-03-04 Thread baptiste auguie
Hi, I think the easiest way is to use grid graphics, library(grid) a = 0.3 b = pi e = bquote(y[alpha] == .(a) * x[beta]+ .(round(b,2))) grid.newpage() grid.text(e) ## if you wanted a snug fit with the device window e2 = expression(integral(frac(1, alpha + x[beta])*dx, -infinity, +infinity))

Re: [R] Creating a .png with just an expression() in it

2011-03-04 Thread David Winsemius
On Mar 4, 2011, at 10:12 AM, David Winsemius wrote: On Mar 4, 2011, at 8:31 AM, Alexx Hardt wrote: Hey, I'm trying to create an image file with the results of a regression analysis. In TeX, the line would be something like: $ size = 0.34 + 4.3 var_1 $ Can I create a plot window with just

Re: [R] Creating a .png with just an expression() in it

2011-03-04 Thread Uwe Ligges
On 04.03.2011 16:12, David Winsemius wrote: On Mar 4, 2011, at 8:31 AM, Alexx Hardt wrote: Hey, I'm trying to create an image file with the results of a regression analysis. In TeX, the line would be something like: $ size = 0.34 + 4.3 var_1 $ Can I create a plot window with just this line

Re: [R] Creating a .png with just an expression() in it

2011-03-04 Thread David Winsemius
On Mar 4, 2011, at 8:31 AM, Alexx Hardt wrote: Hey, I'm trying to create an image file with the results of a regression analysis. In TeX, the line would be something like: $ size = 0.34 + 4.3 var_1 $ Can I create a plot window with just this line in it? I tried playing around with plot.ne

[R] Creating a .png with just an expression() in it

2011-03-04 Thread Alexx Hardt
Hey, I'm trying to create an image file with the results of a regression analysis. In TeX, the line would be something like: $ size = 0.34 + 4.3 var_1 $ Can I create a plot window with just this line in it? I tried playing around with plot.new() or dev.new(), but didn't really find something