[R] Cannot load irr package

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed May 17 00:12:09 CEST 2006

On Tue, 16 May 2006, Rick Bilonick wrote:

> On Tue, 2006-05-16 at 13:51 -0700, Phil Spector wrote:
>> Rick -
>>    You didn't say what operating system you're using, but I suppose
>> that it's UNIX-based, because you're using the tar.gz files.
>>    If this is the case, the problem can be resolved by setting the
>> environmental variable LANG to an empty string.  If you're currently
>> just typing "R" at the shell prompt, try
>> env LANG= R
>> (notice that you're setting LANG to an empty string, not to  "R").
>> If you have access to the script that's invoked when you type R, you
>> could set the environmental variable there to make the change permanent.

This isn't really portable, but LANG=C is.

>>                                        - Phil Spector
> Thanks. That solves the problem but why is it necessary? (I'm using FC4
> and R version 2.3.0.)

Presumably because the package author used non-ASCII text in his package.
The problem is in file meancor.R, which contains R followed by the 
character 0xd8.

As the posting guide advised in the first place, please take this up with 
the package maintainer.

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-help mailing list