[R] Sweave and Miktex (Sweave.sty not found)
Duncan Murdoch
murdoch.duncan at gmail.com
Tue Sep 14 16:34:26 CEST 2010
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
More information about the R-help
mailing list