Skip to content

pictex

2 messages · Orlando San Martin, pwhiting@fury.ittc.ukans.edu

#
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
Bump tex's memory up a tad:

first - find the texmf.cnf file (use kpsewhich if you have it:)
$ vi `kpsewhich texmf.cnf`

find the lines that deal with main memory.  You can get a clue as
to what needs the bump by looking in the log after trying tex.
I would bump both the "main_memory" line and the "extra_mem_bot"
line.  

After you have finished editing the file, run "texconfig init" and 
you should be good to go.

pete
On Sun, Apr 25, 1999 at 07:11:23AM -0700, Orlando San Martin wrote:
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._