[OS X TeX] How to make aquamacs find Sweave without needing to specify location

Christopher David Desjardins cddesjardins at gmail.com
Fri Nov 21 20:23:56 CET 2008


On Nov 21, 2008, at 10:36 AM, Maarten Sneep wrote:

> On 21 nov 2008, at 16:58, Christopher David Desjardins wrote:
>
>> On Nov 21, 2008, at 9:50 AM, Maarten Sneep wrote:
>>
>>> On 21 nov 2008, at 16:45, Herbert Schulz wrote:
>>>
>>>> On Nov 21, 2008, at 9:39 AM, Maarten Sneep wrote:
>>>>
>>>>> In the terminal:
>>>>>
>>>>> mkdir -P ~/Library/texmf/tex/latex/
>>>>> cd ~/Library/texmf/tex/latex/
>>>>> ln -s /Library/Frameworks/R.framework/Resources/share/texmf/Sweave
>>>>>
>>>>> This makes a symbolic link to the package so that if you update  
>>>>> the R application, tex will find the updated version as well. I  
>>>>> took the liberty of placing Sweave in the latex tree, as your  
>>>>> syntax seems to indicate that usage. This tree is searched  
>>>>> without index files, so there is no need for mktexlsr calls.
>>>>>
>>>>> Maarten
>>>>
>>>>
>>>> Howdy,
>>>>
>>>> Shouldn't that be .../Sweave.sty since I assume it is a standard  
>>>> package?
>>>
>>> Probably, but then I don't know what else is in that tree,  
>>> probably safer to do
>>>
>>> mkdir -P ~/Library/texmf/tex/latex
>>> cd ~/Library/texmf/tex/latex
>>> ln -s /Library/Frameworks/R.framework/Resources/share/texmf Sweave
>>>
>>> Maarten
>>
>>
>> I tried those commands but I'm still getting
>>
>> ERROR: LaTeX Error: File `Sweave.sty' not found.
>>
>> Thanks in advance,
>
> Is that TeXLive 2008 installed directly from the DVD, and not MacTeX  
> 2008? In that case:
>
> mkdir -P ~/texmf/tex/latex
> cd ~/texmf/tex/latex
> ln -s /Library/Frameworks/R.framework/Resources/share/texmf Sweave

I install MacTex 2008 from the website and unfortunately this is still  
not working for me.  I am not sure what the problem is exactly but I  
appreciate your help Maarten.
Chris


>
>
> Maarten
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
> 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
>




More information about the macostex-archives mailing list