[R] pictex

Orlando San Martin orlando at inreach.com
Sun Apr 25 16:11:23 CEST 1999


Hi, I am very new to R and trying to bring my plot of residuals to my
LaTex document, and seems as I need some help.

I first tried the example from the help file, e.g.

pictex(file="model1.tex", width=5, height=4)
plot(1:11,(-5:5)^2, type='b', main="Simple Example Plot")
dev.off()

this worked fine in LaTex when I did :

\centerline{\input{Rplots.tex}}

However, with my residuals plot, which looks like :

pictex(file="model1.tex")
plot(fitted(model1),resid(model1),xlab="Fitted values",
ylab="Residuals", main="Residuals vs Fitted")

I can see OK the generated plot  in my Xwindow, but LaTex complains that
requires more memory. I am not a LaTex expert either, so I wonder if it
REALLY needs more memory or I should use some other more efficient way
of doing it in R, for instance instead of pictex ??.

I'll appreciate your feedback.

orlando

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list