[OS X TeX] Sweave from texshop

Christopher Desjardins cddesjardins at gmail.com
Fri Sep 17 12:38:00 EDT 2010


Thanks Alan.  A couple of quick comments about that website (and I was able
to get it to work).

- Sweave.sh is actually located here ->
http://cran.r-project.org/contrib/extra/scripts/Sweave.sh

- I had to edit both of those Engines on the original link and change Sweave
to Sweave.sh

- Finally, I ran:
chmod +x Sweave.sh
chmod +x Sweave.Engine
chmod +x SweaveNoClean.Engine

Not sure if I needed to for the last two but I did.
Hope this helps others!
Chris

On Fri, Sep 17, 2010 at 10:03 AM, Alan Munn <amunn at gmx.com> wrote:

> On Sep 17, 2010, at 10:53 AM, Christopher Desjardins wrote:
>
>  Hi,
>> 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.
>>
>
>
> 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)
>
> <http://www.stat.umn.edu/~arendahl/computing/index.html>
>
> Alan
>
>
> --
> Alan Munn
> amunn at gmx.com
>
>
>
>
>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://email.esm.psu.edu/pipermail/macosx-tex/attachments/20100917/ab563acc/attachment.html>


More information about the MacOSX-TeX mailing list