>example(lm)Error in switch(x[2], "1250" = return("ISO 8859-2"), "1251" = return("KOI8-U"), : argument is missing, with no default> Sys.getlocale(category = "LC_ALL")[1] "LC_COLLATE=Chinese_People's Republic of China.936;LC_CTYPE=Chinese_People's Republic of China.936;LC_MONETARY=Chinese_People's Republic of China.936;LC_NUMERIC=C;LC_TIME=Chinese_People's Republic of China.936"> version_ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status beta major 2 minor 1.0 year 2005 month 04 day 16 language R
Yes. Please do beta-test *before* release: R 2.1.0 is released. If no one actually tests R in your language, we will not discover that there are problems in that language. Over the the users to beta-test when asked to. On Tue, 19 Apr 2005, ronggui wrote:>> example(lm) > Error in switch(x[2], "1250" = return("ISO 8859-2"), "1251" = return("KOI8-U"), : > argument is missing, with no default > >> Sys.getlocale(category = "LC_ALL") > [1] "LC_COLLATE=Chinese_People's Republic of China.936;LC_CTYPE=Chinese_People's Republic of China.936;LC_MONETARY=Chinese_People's Republic of China.936;LC_NUMERIC=C;LC_TIME=Chinese_People's Republic of China.936" > >> version > _ > platform i386-pc-mingw32 > arch i386 > os mingw32 > system i386, mingw32 > status beta > major 2 > minor 1.0 > year 2005 > month 04 > day 16 > language R-- 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
On Tue, 19 Apr 2005, ronggui wrote:> Prof Brian Ripley, > > I found the error by chance. the error is found in R2.1.0 too.As far as I can see, if anyone had run any example() in R on a Windows machine in your locale it would have failed. But no one reported a problem. I don't even have that locale on my Windows machine, and it is in a format I have never seen before.>> Yes. Please do beta-test *before* release: R 2.1.0 is released. >> >> If no one actually tests R in your language, we will not discover that >> there are problems in that language. Over to the users to beta-test when >> asked to.My point is that we rely on users to test things we cannot test. Unless a user participated in the beta testing (s)he should regard his/her locale as unsupported. I have attempted to fix this in R-patched, so please try a build of that in a day or so (I am not sure automated builds for Windows are running yet). -- 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
> >> 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>
Maybe Matching Threads
- A question about encoding
- Help file doesn't display correctly
- How to get commands history as a character vector instead of displaying them?
- deparse() and the 'else' statement
- Error .jcall(mxe, "S", "fit", c("autorun", "-e", afn, "-o", dirout, : java.lang.NoSuchMethodError: density.Params.readFromArgs([Ljava/lang/String; )Ljava/lang/String;