Yes, that would be ideal. I will update the patch to reflect this
issue. I do not remember in which version R moved Sweave.sty from
texmf to texmf/tex/latex, so let's search both places.

Regards,
Yihui
--
Yihui Xie <xieyi...@gmail.com>
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Wed, Feb 1, 2012 at 4:38 PM, Jean-Marc Lasgouttes <lasgout...@lyx.org> wrote:
> Le 01/02/12 18:20, Yihui Xie a écrit :
>
>> That seems like a bug of Debian; R should be able to find Sweave.sty with
>>
>>> file.path(R.home("share"), "texmf", "tex", "latex", "Sweave.sty")
>>
>> [1] "/usr/share/R/share/texmf/tex/latex/Sweave.sty"
>>
>> I'm using Ubuntu and R can find Sweave.sty correctly.
>>
>> If possible, I strongly recommend you update R to the latest 2.14.1
>> (it is pretty easy to update if you set a CRAN mirror; see
>> instructions at http://cran.r-project.org/bin/linux/debian/). There
>> have been many changes in Sweave since 2.11.
>
>
> It would be nice if we could find the file even in older versions of R. My
> policy is to do easy thing to support old versions, but not much more :)
>
> JMarc
>

Reply via email to