Re: [R] error due to locales again

From: Ei-ji Nakama <nakama_at_ki.rim.or.jp>
Date: Tue 19 Apr 2005 - 18:45:42 EST

> >> 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@ki.rim.or.jp>

______________________________________________
R-help@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
Received on Tue Apr 19 18:53:39 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:16 EST