[R] Sweave issue: quotes in verbatim-like output print incorrectly

Patrick Drechsler patrick at pdrechsler.de
Wed Mar 7 12:15:34 CET 2007


Gavin Simpson <gavin.simpson at ucl.ac.uk> writes:

> On Wed, 2007-03-07 at 15:33 +1000, Peter Dunn wrote:
>> But I recently received a new computer, and ever since I
>> have had a problem I've never seen before.
>> 
>> For example, I place the following in my Snw file:
>
> Try this in the preamble of your Snw file:
>
> \usepackage[utf8x]{inputenc}

\usepackage[utf8]{inputenc}

should suffic for this. Also, utf8 is newer than utf8x. So if you only
need the ISO 8859 subset of Unicode, utf8 should serve your needs.

HTH

Patrick
-- 
I never used a logarithm in my life, and could not undertake to
extract the square root of four without misgivings.
	(Georg Bernhard Shaw)



More information about the R-help mailing list