[R] error due to locales again

Ei-ji Nakama nakama at ki.rim.or.jp
Tue Apr 19 10:45:42 CEST 2005


> >> example(lm)
> > Error in switch(x[2], "1250" = return("ISO 8859-2"), "1251" = return("KOI8-U"),  :
> >        argument is missing, with no default

--- src/library/utils/R/iconv.R.orig    2005-04-18 19:18:58.000000000
+0900
+++ src/library/utils/R/iconv.R 2005-04-19 17:37:32.000000000 +0900
@@ -74,7 +74,7 @@
                "1254" = return("ISO 8859-9"),
                "1255" = return("ISO 8859-8"),
                "1256" = return("ISO 8859-6"),
-               "1257" = return("ISO 8859-13"),
+               "1257" = return("ISO 8859-13")
                )
         return(paste("CP", x[2], sep=""))
     } else {

--
http://www.nakama.ne.jp, http://r.nakama.ne.jp
e-mail : EIJI Nakama <nakama at ki.rim.or.jp>




More information about the R-help mailing list