[R] Sweave and Miktex (Sweave.sty not found)

Greg Johnson greg at nosnhoj.org
Tue Sep 14 16:27:39 CEST 2010


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.

Greg



More information about the R-help mailing list