On 14/09/2010 10:27 AM, Greg Johnson wrote:
Katie Surrence<tiburona<at> gmail.com> writes:
...
> I've copied the Sweave.sty file into at this point multiple places on the
> Miktex path, including folders where I can see that it is looking for, and
> successfully finding, sty files (e.g. Miktex 2.8/tex/latex/base). I also
> went to the Miktex settings application and clicked Refresh FNDB and Update
> formats.
>
> Still I get this error when I try to run pdfLaTeX on the demo.tex file:
> !LaTeX Error: File 'Sweave.sty' not found.
>
> Can anyone help?
>
> Thanks!
I have had good luck copying sweave.sty into the same directory as the .tex file
created by Sweave() before I run Mitex.
Watch out for versioning problems if you do this. Old Sweave.sty files
don't necessarily work with newer Sweave() output.
Duncan Murdoch
______________________________________________
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.