<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>I recently asked the same question on the R for Mac mailing list. I was given two solutions, i.e. fixing this via LaTeX or via R. I used the second.</div><div><br></div><div>1) add the path to Sweave.sty in the LaTeX path (which is presumably what Maarten suggests?)</div><div><br></div><div><br></div><div>2) Put the following in your ~/.Rprofile (you might have to create this file) to revert to the old behaviour</div><br>Sys.setenv("SWEAVE_STYLEPATH_DEFAULT" = "TRUE")<br><div><br></div><div>By the way, you'll find useful reasons (including why this new behavior as of R 2.8) by typing ?RweaveLatex in the R console.</div><div><br></div><div>Denis<br><div><div>Le 08-11-21 à 15:00, <a href="mailto:macosx-tex-request@email.esm.psu.edu">macosx-tex-request@email.esm.psu.edu</a> a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; ">Message: 13<br>Date: Fri, 21 Nov 2008 20:44:15 +0100<br>From: Maarten Sneep <<a href="mailto:maarten.sneep@xs4all.nl">maarten.sneep@xs4all.nl</a>><br>Subject: Re: [OS X TeX] How to make aquamacs find Sweave without<br><span class="Apple-tab-span" style="white-space: pre; ">   </span>needing to<span class="Apple-tab-span" style="white-space: pre; ">       </span>specify location<br>To: TeX on Mac OS X Mailing List <<a href="mailto:macosx-tex@email.esm.psu.edu">macosx-tex@email.esm.psu.edu</a>><br>Message-ID: <<a href="mailto:8D92D216-3AA9-4FDB-87C1-6FF42B1C38C2@xs4all.nl">8D92D216-3AA9-4FDB-87C1-6FF42B1C38C2@xs4all.nl</a>><br>Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes<br><br>On 21 nov 2008, at 20:23, Christopher David Desjardins wrote:<br><blockquote type="cite">I install MacTex 2008 from the website and unfortunately this is  <br></blockquote><blockquote type="cite">still not working for me.  I am not sure what the problem is exactly  <br></blockquote><blockquote type="cite">but I appreciate your help Maarten.<br></blockquote><br>MacTeX 2008 should have the ~/Library included; you're using the  <br>"Default install" on this mailing list.<br><br>The other option is to copy everything in the directory inside the R  <br>bundle (in the directory you indicated) into ~/Library/texmf/tex/latex/<span class="Apple-converted-space"> </span><br>Sweave Perhaps symlnks don't work, and you just have to copy.<br><br>mkdir -P ~/Library/texmf/tex/latex/Sweave<br>cd ~/Library/texmf/tex/latex/Sweave<br>cp /Library/Frameworks/R.framework/Resources/share/texmf/* .<br><br>Hope this (finally) helps.<br><br>Maarten<br></span></blockquote></div><br></div></body></html>