Sweave (PR#2142)

c.declercq@orsnpdc.org c.declercq@orsnpdc.org
Thu, 10 Oct 2002 16:02:00 +0200 (MET DST)


In the 'RWeaveLatexSetup' function in the 'tools' package in R 1.6.0 , the
code below does not work (pdflatex can't find 'Sweave.sty'):

if (stylepath)
        styfile <- file.path(R.home(), "share", "texmf", "Sweave")
    else styfile <- "Sweave"

In R 1.5.1, that was:

if(stylepath)
        styfile <- file.path(.path.package("tools"),
                             "Sweave", "Sweave")
else
        styfile <- "Sweave"

and that was working.


Version:
 platform = i386-pc-mingw32
 arch = i386
 os = mingw32
 system = i386, mingw32
 status =
 major = 1
 minor = 6.0
 year = 2002
 month = 10
 day = 01
 language = R

Windows 98 SE 4.10 (build 2222)  A

Search Path:
 .GlobalEnv, package:tools, package:rodbc, package:ctest, Autoloads,
package:base

--
Christophe DECLERCQ, MD
Observatoire Régional 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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._