[Rd] [Bioc-devel] Sweave windows style path (was Re: texmf error on 7 packages on devel winXP build nodes)

Martin Morgan mtmorgan at fhcrc.org
Sun Aug 27 16:45:00 CEST 2006


[A build system misconfiguration at Bioconductor lead to a discussion
about whether \usepackage{Sweave} should be included in .Rnw
documents. Leaving this line out causes a problem on Windows, as
indicated below.]

I think the problem is '~', which should, according to Donald
Arseneau's comment in this thread

http://groups.google.com/group/comp.text.tex/browse_thread/thread/640e89078d0697c4/5b6f9fc6b0da21bf?lnk=gst&q=windows+file+path&rnum=4#5b6f9fc6b0da21bf

be \string~. If this is the correct change, perhaps an upstream fix
could be introduced in src/library/util/R/Sweave.R.

Martin

Gordon Smyth <smyth at wehi.EDU.AU> writes:

> PS. The line added by Sweave to a vignette in R2.4.0dev for Windows is actually
>
> \usepackage{C:/PROGRA~1/R/R-24~1.0DE/share/texmf/Sweave}
>
> Even though this DOS version of the file path doesn't contain a space
> character, it is still invalid syntax for LaTeX.
>
> Gordon



More information about the R-devel mailing list