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)
textplot(capture.output(summary(.model)), valign="top", halign="left")

I  am getting these error messages:

Warning messages:
1: In FUN(c("C", "a", "l", "l", ":", "l", "m", "(", "f", "o", "r",  :
  font width unknown for character 0x9
2: In strwidth(object, cex = cex) : font width unknown for character 0x9
3: In FUN(c("C", "a", "l", "l", ":", "l", "m", "(", "f", "o", "r",  :
  font width unknown for character 0x9
4: In strwidth(object, cex = cex) : font width unknown for character 0x9
5: In FUN(c("C", "a", "l", "l", ":", "l", "m", "(", "f", "o", "r",  :
  font width unknown for character 0x9
6: In strwidth(object, cex = cex) : font width unknown for character 0x9
7: In text.default(x = xpos, y = ypos, labels = object, adj = c(0,  :
  font width unknown for character 0x9
8: In text.default(x = xpos, y = ypos, labels = object, adj = c(0,  :
  font width unknown for character 0x9

This is a tab character that causes problems, I guess. Is there any
way to solve this?

Thank you in advance

-- 
Jonas Malmros
Stockholm University
Stockholm, Sweden

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to