[Rd] Missing /share/dictionaries/en_stats.rds
Prof Brian Ripley
ripley at stats.ox.ac.uk
Mon Jan 7 11:23:35 CET 2013
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
More information about the R-devel
mailing list