Thank you very much, Dennis. That worked. I had tried pointing the list of Roots to the R directory where the Sweave file was originally located, and had gotten an error, but I had not tried making my own directory.
On Tue, Sep 14, 2010 at 9:08 AM, Dennis Murphy <djmu...@gmail.com> wrote: > Hi: > > Start here: > http://docs.miktex.org/manual/localadditions.html#id573835 > > I have a LocalTeXfiles directory under my home directory on Windows 7, with > nested folders for tex -> latex -> Sweave. All of my Sweave files (*.fd, > *.cfg, *.sty) are in the Sweave directory. The manual linked above shows you > how to register the directory with MiKTeX. > > HTH, > Dennis > > On Tue, Sep 14, 2010 at 5:56 AM, Katie Surrence <tibur...@gmail.com>wrote: > >> Hi all, >> >> I know from googling that this is a common problem; I've just tried what I >> understand to be the common solutions to know avail -- maybe I'm just >> confused. >> >> I installed Miktex 2.8 -- it seems to be working fine. >> >> I'm using this demo document: >> http://www.stat.berkeley.edu/~houston/demo.Rnw<http://www.stat.berkeley.edu/%7Ehouston/demo.Rnw> >> >> 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! >> >> [[alternative HTML version deleted]] >> >> ______________________________________________ >> 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. >> > > [[alternative HTML version deleted]] ______________________________________________ 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.