From ripley at stats.ox.ac.uk  Mon Jan  7 11:23:35 2013
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Mon, 07 Jan 2013 10:23:35 +0000
Subject: [Rd] Missing /share/dictionaries/en_stats.rds
In-Reply-To: <50EA9673.5020403@statistik.tu-dortmund.de>
References: <CAFDcVCRSGFmjM_s3j8Bq4fjJOc_iyQv8MutcjubCp62eFi2thw@mail.gmail.com>
	<20714.35753.877279.423099@stat.math.ethz.ch>
	<50EA9673.5020403@statistik.tu-dortmund.de>
Message-ID: <50EAA227.9090409@stats.ox.ac.uk>

On 07/01/2013 09:33, Uwe Ligges wrote:
>
>
> On 07.01.2013 09:47, Martin Maechler wrote:
>>>>>>> Henrik Bengtsson <hb at biostat.ucsf.edu>
>>>>>>>      on Sun, 6 Jan 2013 17:07:12 -0800 writes:
>>
>>      > Hi.  I'm on Windows 7 64-bit with latest R devel with and
>>      > Rtools (2.16.0.1926).  When I try to enable spell checking
>>      > for 'R CMD check' by setting environment variable
>>      > '_R_CHECK_CRAN_INCOMING_USE_ASPELL_' to 'true', I get:
>>
>>      > * checking CRAN incoming feasibility ...Warning in
>>      > aspell(files, filter = "dcf", control = control, encoding
>>      > = encoding, : The following dictionaries were not found:
>>      > en_stats
>>
>>      > Looking at the source code, I found that I'm missing
>>      > 'en_stats.rds', e.g.
>>
>>      >> Sys.glob(file.path(R.home("share"), "dictionaries", "*.rds"))
>>      > character(0)
>>
>>      > I see that the missing file is in
>>      > http://svn.r-project.org/R/trunk/share/dictionaries/.  Is
>>      > there a reason for why this is not part of the R
>>      > source/binaries (e.g.
>>      > http://cran.r-project.org/src/base/R-2/R-2.15.2.tar.gz)?
>>      > Intentional or forgotten?
>>
>> But it's in the source tarballs of R-devel,
>> and you are talking about R-devel, right?
>>
>> Also, for me (on Linux), it is in there
>>
>>      >> Sys.glob(file.path(R.home("share"), "dictionaries", "*.rds"))
>>
>> are you sure you're not just mixing R-2.15.x
>> and R-devel ?
>
> No, he is right, since it is not shipped with the Windows installer.
> We are working on it (and the other aspell error report).

Or put another way, aspell() and its use in R CMD check is not yet 
supported on Windows (which is why the directory was not shipped).


-- 
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] Missing /share/dictionaries/en_stats.rds
Prof Brian Ripley