Hi everybody, I wanted to use Sweave but I do not have the Latex package: "LaTeX Error: File 'Sweave.sty' not found." I cannot find it with MiKTeX :-( Can somebody help me ? Thanks a lot, Jimmy [[alternative HTML version deleted]]
You'll find that this is a very common question, and 30 seconds with google will get you many nice explanations and solutions. The quickest is to copy Sweave.sty from the package directory to your working directory. Sarah On Mon, Apr 26, 2010 at 1:10 PM, Jimmy S?derly <jimmy.soderly at gmail.com> wrote:> Hi everybody, > > I wanted to use Sweave but I do not have the Latex package: > > "LaTeX Error: File ?'Sweave.sty' not found." > > I cannot find it with MiKTeX :-( > > Can somebody help me ? > > Thanks a lot, > Jimmy >-- Sarah Goslee http://www.functionaldiversity.org
If you have the package you have this file. Maybe check FAQ A.12 http://www.stat.uni-muenchen.de/~leisch/Sweave/FAQ.html -----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of Jimmy S?derly Sent: Monday, April 26, 2010 1:10 PM To: r-help at r-project.org Subject: [R] Sweave Hi everybody, I wanted to use Sweave but I do not have the Latex package: "LaTeX Error: File 'Sweave.sty' not found." I cannot find it with MiKTeX :-( Can somebody help me ? Thanks a lot, Jimmy [[alternative HTML version deleted]] ______________________________________________ R-help at 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.
Its at this path (this command is issued from within R): file.path(R.home(), "share", "textmf", "Sweave.sty") You can add it to your MiKTeX installation or just put it in the same directory as your Rnw file. On Mon, Apr 26, 2010 at 1:10 PM, Jimmy S?derly <jimmy.soderly at gmail.com> wrote:> Hi everybody, > > I wanted to use Sweave but I do not have the Latex package: > > "LaTeX Error: File ?'Sweave.sty' not found." > > I cannot find it with MiKTeX :-( > > Can somebody help me ? > > Thanks a lot, > Jimmy > > ? ? ? ?[[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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. >