Re: [R] textplot() in gplots causes problems (0x9)

2007-11-02 Thread Gregory Warnes
Hi Jonas, You are correct that manually setting cex won't entirely remove the warning messages (note: these are *warnings* not *errors*). It will reduce them greatly, from, perhaps 40, down to 3 or so. Since the tab character won't be properly displayed anyway, you can use gsub or similar

Re: [R] textplot() in gplots causes problems (0x9)

2007-11-01 Thread Jonas Malmros
Dear Gregory, How can I avoid using tab character when all I want to do is to print a model summary on my pdf device using textplot()? How do I set the font size? If you mean using cex inside textplot, then it does not work. Whether cex is 1 or 0.2 I get the same result, exemplified here: Call:

Re: [R] textplot() in gplots causes problems (0x9)

2007-11-01 Thread Jonas Malmros
Dear Gregory and members of R-Help I found what was causing the problem, it was the fact that my R Console window is minimized by me horizontally, and therefore summary output does not fit and gets split, and function capture.output() copies that into PDF! I maximized R Console window so that

[R] textplot() in gplots causes problems (0x9)

2007-10-31 Thread Jonas Malmros
Hello, I am using textplot function in gplots package to put some model output inside a PDF file, but it does not seem to work properly with PDF. I am doing follwing: pdf(file=C:/..., paper=a4, width=8, height=12) .model - lm(.model.formula, data=database)