[R] Sweave in R 2.13.1 doesn't support cp1250 encoding

Duncan Murdoch murdoch.duncan at gmail.com
Tue Jul 12 14:44:17 CEST 2011


On 11-07-12 6:42 AM, Tomaz wrote:
> Uwe Ligges<ligges<at>  statistik.tu-dortmund.de>  writes:
>
>>
>>
>> On 12.07.2011 09:01, Tomaz wrote:
>>> Prof Brian Ripley<ripley<at>   stats.ox.ac.uk>   writes:
>>>
>>>>
>>>> On Mon, 11 Jul 2011, Tomaz wrote:
>>>>
>>>>> I upgraded R on windows xp from 2.12.2 to 2.13.1 and now I can not
>>>>> process Rnw files with windows cp1250 encoding. Sweave complains:
>>>>
>>>> Which is of course not an ISO Standard encoding.  One way out is to use the
>>>> ISO encoding latin2, which is supported.
>>
>> Have you read this and tried latin2?
>>
>> Uwe Ligges
>>
>
> Windows XP doesn't have latin2 locale and I think that Sweave should support all
> locales (encodings) that are supported by latex package inputenc. If someone can
> show me how can I set Rgui/Rterm, Emacs/ESS, Sweave/Latex to use utf8 that would
> be helpful. My best current setup was to set all tools to use cp1250.

Have you tried following Brian's advice, and testing the new version? 
It works for me.

Duncan Murdoch



More information about the R-help mailing list