[Rd] iconv.dll in Windows

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Mar 12 15:03:14 CET 2009


On Thu, 12 Mar 2009, Uwe Ligges wrote:

> See .../R/src/gnuwin32/CHANGES:
>
>    o	iconv() is now done by a version of Yukihiro Nakadaira's
> 	win_iconv rather than by libiconv.  This version is based on
> 	Windows' codepages and is not quite as comprehensive as
> 	libiconv: it is however much smaller and easier to maintain.
> 	The implementation here is 100% compatible: you can drop in
> 	libiconv's iconv.dll as a replacement if you need it, from
> 	http://www.stats.ox.ac.uk/pub/Rtools/Riconv.dll.
>
> 	To avoid name conflicts with Gtk+, it has been renamed to
> 	Riconv.dll.

and

     o   Since iconv.dll has been renamed, packages wanting to link
         against it need to use -lRiconv (or, hetter, use the entry
         points in R_exts/Riconv.h).


>
> Uwe Ligges
>
>
>
> James MacDonald wrote:
>> I recently built R-devel on Windows XP (sessionInfo below), and when 
>> loading libraries that require the iconv.dll was getting an error stating 
>> that 'This application has failed to start because iconv.dll was not found. 
>> Re-installing the application may fix this problem.'.
>> 
>> An R-2.8.1 that I installed using the Windows installer has this dll in 
>> R-2.8.1/bin, whereas in R-devel it is still in 
>> R-devel/src/gnuwin32/unicode. Moving the dll  to R-devel/bin alleviates the 
>> problem.
>> 
>> I built using the recent recommendations of P. Dalgaard  (make Rpwd.exe, 
>> make link-recommended, make all recommended). I don't see anything in the 
>> NEWS for this version, but maybe I missed something?
>> 
>> Best,
>> 
>> Jim
>> 
>>> sessionInfo()
>> R version 2.9.0 Under development (unstable) (2009-03-11 r48117) 
>> i386-pc-mingw32 
>> locale:
>> LC_COLLATE=English_United States.1252;LC_CTYPE=English_United 
>> States.1252;LC_MONETARY=English_United 
>> States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
>> 
>> attached base packages:
>> [1] stats     graphics  grDevices datasets  utils     methods   base 
>> other attached packages:
>> [1] XML_1.99-0
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
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