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 ______________________________________________ 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.