[R] Cannot load irr package

Phil Spector spector at stat.Berkeley.EDU
Tue May 16 22:51:51 CEST 2006


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.

                                       - Phil Spector
					 Statistical Computing Facility
					 Department of Statistics
					 UC Berkeley
					 spector at stat.berkeley.edu


On Tue, 16 May 2006, Rick Bilonick wrote:

> The irr package seems to install correctly:
>
> > install.packages("irr")
> trying URL 'http://cran.us.r-project.org/src/contrib/irr_0.61.tar.gz'
> Content type 'application/x-tar' length 13848 bytes
> opened URL
> ==================================================
> downloaded 13Kb
>
> * Installing *source* package 'irr' ...
> ** R
> ** data
> ** help
>  >>> Building/Updating help pages for package 'irr'
>      Formats: text html latex example
>   agree                             text    html    latex   example
>   anxiety                           text    html    latex   example
>   diagnoses                         text    html    latex   example
>   finn                              text    html    latex   example
>   icc                               text    html    latex   example
>   iota                              text    html    latex   example
>   kappa2                            text    html    latex   example
>   kappam.fleiss                     text    html    latex   example
>   kappam.light                      text    html    latex   example
>   kendall                           text    html    latex   example
>   maxwell                           text    html    latex   example
>   meancor                           text    html    latex   example
>   meanrho                           text    html    latex   example
>   print.icclist                     text    html    latex   example
>   print.irrlist                     text    html    latex   example
>   robinson                          text    html    latex   example
>   video                             text    html    latex   example
> ** building package indices ...
> * DONE (irr)
>
> The downloaded packages are in
>         /tmp/RtmpsZJJ1h/downloaded_packages
>
>
>
> But it won't load. Any ideas?
>
> > library(irr)
> Error in parse(n = -1, file = file) : invalid multibyte character in
> mbcs_get_next
> Error: unable to load R code in package 'irr'
>
>
> Thanks.
>
> Rick B.
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>




More information about the R-help mailing list