From c.declercq@orsnpdc.org  Fri Oct 11 15:35:38 2002
From: c.declercq@orsnpdc.org (Christophe Declercq)
Date: Fri, 11 Oct 2002 15:35:38 +0100
Subject: Sweave (PR#2142)
In-Reply-To: <15782.33889.962443.84196@galadriel.ci.tuwien.ac.at>
Message-ID: <NGBBKLJCOLPAFMJIEMHCAEIACCAA.c.declercq@orsnpdc.org>

Thanks, Fritz, for your answer.

> De : Friedrich Leisch [mailto:leisch@galadriel.ci.tuwien.ac.at]
>[...]
> The path is correct (I want to have Sweave.sty in
> $R_HOME/share/texmf), but the install procedure has a bug: Sweave.sty
> does not get installed properly when builddir != srcdir. This has been
> fixed in both the devel and patched version of R.

Yes, but  'file.path(R.home(), "share", "texmf", "Sweave")' on my MS-Windows
box gives "C:\\R\\RW1060/share/texmf/Sweave".

With that, you get '\usepackage{C:RRW1060/share/texmf/Sweave}' in the tex
file. The problem seems to be with the 'R.home()' output on MS-Windows.

'file.path(.path.package("tools"), "Sweave", "Sweave")' was giving
"C:/R/RW1060/library/tools/Sweave/Sweave" which is OK for pdflatex.

Anyway, thanks a lot for Sweave which is really great (for the moment, as I
need it working, I have just put back the old stylepath code in tools).

Christophe
--
Christophe DECLERCQ, MD
Observatoire Rgional de la Sant Nord-Pas-de-Calais
13, rue Faidherbe 59046 LILLE Cedex FRANCE
Phone +33 3 20 15 49 24
Fax   +33 3 20 55 92 30
E-mail c.declercq@orsnpdc.org

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


Sweave (PR#2142)
Christophe Declercq