Thanks Alan. A couple of quick comments about that website (and I was able to get it to work).<div><br></div><div>- Sweave.sh is actually located here -> <span class="Apple-style-span" style="font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; font-size: 13px; color: rgb(85, 136, 102); line-height: 16px; "> <a href="http://cran.r-project.org/contrib/extra/scripts/Sweave.sh">http://cran.r-project.org/contrib/extra/scripts/Sweave.sh</a></span><br>
<div><br></div><div>- I had to edit both of those Engines on the original link and change Sweave to Sweave.sh</div><div><br></div><div>- Finally, I ran:</div><div>chmod +x Sweave.sh</div><div>chmod +x Sweave.Engine</div><div>
chmod +x SweaveNoClean.Engine</div><div><br></div><div>Not sure if I needed to for the last two but I did.</div><div>Hope this helps others!</div><div>Chris<br><br><div class="gmail_quote">On Fri, Sep 17, 2010 at 10:03 AM, Alan Munn <span dir="ltr"><<a href="mailto:amunn@gmx.com">amunn@gmx.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Sep 17, 2010, at 10:53 AM, Christopher Desjardins wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
Is there a way to run Sweave from texshop (a macro or script) without needing to run the .Rnw file in R first? In other words, I am looking for a way to run Sweave on a Rnw file that I'm editing in texshop without needing to use R. Ideally I would be able to do to things in texshop.<br>
</blockquote>
<br>
<br></div>
I haven't tried it, but here's a link to what you need. Scroll down a bit to the TeXShop stuff. If this is in fact a good solution, it might be a candidate to add to the other Engines available in TeXShop (in the inactive folder)<br>
<br>
<<a href="http://www.stat.umn.edu/~arendahl/computing/index.html" target="_blank">http://www.stat.umn.edu/~arendahl/computing/index.html</a>><br>
<br>
Alan<br><font color="#888888">
<br>
<br>
-- <br>
Alan Munn<br>
<a href="mailto:amunn@gmx.com" target="_blank">amunn@gmx.com</a><br>
<br>
<br>
<br>
<br>
</font><br>----------- Please Consult the Following Before Posting -----------<br>
TeX FAQ: <a href="http://www.tex.ac.uk/faq" target="_blank">http://www.tex.ac.uk/faq</a><br>
List Reminders and Etiquette: <a href="http://email.esm.psu.edu/mac-tex/" target="_blank">http://email.esm.psu.edu/mac-tex/</a><br>
List Archive: <a href="http://tug.org/pipermail/macostex-archives/" target="_blank">http://tug.org/pipermail/macostex-archives/</a><br>
TeX on Mac OS X Website: <a href="http://mactex-wiki.tug.org/" target="_blank">http://mactex-wiki.tug.org/</a><br>
List Info: <a href="http://email.esm.psu.edu/mailman/listinfo/macosx-tex" target="_blank">http://email.esm.psu.edu/mailman/listinfo/macosx-tex</a><br>
<br>
<br></blockquote></div><br></div></div>