[OS X TeX] Sweave from texshop

Alan Munn amunn at gmx.com
Fri Sep 17 19:47:49 CEST 2010


On Sep 17, 2010, at 12:38 PM, Christopher Desjardins wrote:

> 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.

Yes, you did the right thing.  It's good to know this works.  We're  
gradually switching over to R from SPSS so this will probably come in  
handy for me too, although I haven't really played around with Sweave  
at all.

Alan

> 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
>
>
>
> ----------- 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
>

-- 
Alan Munn
amunn at gmx.com







More information about the macostex-archives mailing list