[Bioc-devel] Sweave windows style path

Gordon K Smyth smyth at wehi.EDU.AU
Mon Aug 28 13:11:19 CEST 2006

I agree, \string~ seems an achievable solution.

In the meantime, I've re-installed R on my own Windows system to c:\R\etc so that I can get rid of
\usepackage{Sweave} in the limma package.  I'm not clear whether this will also solve the check
and build errors at the Bioconductor end.


> Date: Sun, 27 Aug 2006 07:45:00 -0700
> From: Martin Morgan <mtmorgan at fhcrc.org>
> Subject: Re: [Bioc-devel] Sweave windows style path (was Re: texmf
> 	error on 7 packages on devel winXP build nodes)
> To: r-devel at stat.math.ethz.ch
> Cc: bioc-devel at stat.math.ethz.ch, Gordon Smyth <smyth at wehi.EDU.AU>,
> 	keith at wehi.EDU.AU
> [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 Bioc-devel mailing list