From ripley at stats.ox.ac.uk  Sat Apr  5 21:39:43 2008
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Sat, 5 Apr 2008 20:39:43 +0100 (BST)
Subject: [Rd] package.skeleton.S4
In-Reply-To: <47F7D2B0.3030408@statistik.tu-dortmund.de>
References: <47EF9A63.3070609@u-paris10.fr> <47F1198C.7070407@r-project.org>
	<47F758B1.4010503@u-paris10.fr>
	<18423.29163.115366.839889@cmath-5.math.ethz.ch>
	<47F774A1.4050901@u-paris10.fr>
	<47F77745.8000301@statistik.tu-dortmund.de>
	<47F77A9C.3010206@u-paris10.fr>
	<47F792B7.8010404@stats.uwo.ca> <47F79677.9070101@u-paris10.fr>
	<47F7D2B0.3030408@statistik.tu-dortmund.de>
Message-ID: <alpine.LFD.1.00.0804052031560.22456@gannet.stats.ox.ac.uk>

On Sat, 5 Apr 2008, Uwe Ligges wrote:

> Christophe Genolini wrote:

[...]

>>    for french people, some "?" and "?" provoque warnings as well.
>
> Then you have to declare an encoding as the manual "Writing R
> Extensions" suggests.

It occurred to me that package.skeleton could perhaps fathom this out by 
looking for non-ASCII text in the files and using the current locale if it 
finds any as the basis for declaring the encoding.  But I believe people 
should be made aware that if they write packages in French they are not 
portable to Chinese or Russian or  ..., and declaring an encoding is only 
a palliative.

> Uwe Ligges
>
>> Christophe

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


[Rd] package.skeleton.S4
Prof Brian Ripley