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

Duncan Murdoch murdoch.duncan at gmail.com
Tue Sep 14 20:10:28 CEST 2010


  On 14/09/2010 2:00 PM, Greg Snow wrote:
> I have found that if I put \include{Sweave} explicitly in my sweave source file then it finds the copy in the MikTeK folders, but if I don't then Sweave tries to add that line, but pointing to the R directory that caused the problem in the first place.
>

Yes, MikTeX (or latex in general?) often gets confused by the pathnames 
that Sweave enters.  Putting in the explicit \include stops Sweave from 
trying to help.

Duncan Murdoch



More information about the R-help mailing list