>>>>> On Fri, 27 Apr 2007 07:15:22 -0400, >>>>> Duncan Murdoch (DM) wrote:
> On 4/27/2007 5:39 AM, [EMAIL PROTECTED] wrote: >> Dear all, >> I'm using the nlme package. I would like to introduce the plot of my >> groupedData object in my latex report using Sweave but it doesn't work. >> I have no error message in R (Sweave(my.file_Rnw)) and the plot is >> generated in R, but when I want to see the pdf (I'm using TexnicCenter) of >> my report, there is an error message and no pdf file is generated. It seems >> that the plot generated by plot.nmGroupedData is not found by TexnicCenter. >> Does anyone have an idea on how to solve this problem? > If the dot in the filename is real, I'd guess that's your problem. To > confirm, take a look at the .tex file produced by Sweave. Find the line > corresponding to this figure. It will be an \includegraphics call, > something like > \includegraphics{my.file_Rnw-fig} > Your TeX is probably interpreting this as the file my.file_Rnw-fig > rather than automatically adding the .pdf file extension, because it > thinks you've specified the extension to be file_Rnw-fig. Another reason could be that many nlme plots are using lattice, see http://www.ci.tuwien.ac.at/~leisch/Sweave/FAQ.html#x1-9000A.7 Best, -- ----------------------------------------------------------------------- Prof. Dr. Friedrich Leisch Institut für Statistik Tel: (+49 89) 2180 3165 Ludwig-Maximilians-Universität Fax: (+49 89) 2180 5308 Ludwigstraße 33 D-80539 München http://www.stat.uni-muenchen.de/~leisch ______________________________________________ R-help@stat.math.ethz.ch 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.