I think I just broke R
On 03.04.2011 09:30, Alexander Engelhardt wrote:
Am 03.04.2011 03:51, schrieb Daniel Malter:
Check whether x, y, or glm have been redefined. If not, restart R.
I wouldn't call my function 'glm'. However, I did call one 'binomial'. That was my mistake. Thanks :) A few weeks ago I asked how to set my error messages to english, and Richard Heiberger told me to use 'Sys.setenv(LANG="EN")'. He used this example, which did work for me at first, but doesn't work now anymore:
> Sys.setenv(LANG="DE") > 2+"a"
Fehler in 2 + "a" : nicht-numerisches Argument f?r bin?ren Operator
> Sys.setenv(LANG="EN") > 2+"a"
Fehler in 2 + "a" : nicht-numerisches Argument f?r bin?ren Operator Does someone have any idea why that could be the case?
Use "LANGUAGE" rather than "LANG" as the environment variable.
My sessionInfo() is here:
> sessionInfo()
R version 2.10.1 (2009-12-14)
and time to upgrade R Best, Uwe Ligges
i486-pc-linux-gnu locale: [1] LC_CTYPE=de_DE.utf8 LC_NUMERIC=C [3] LC_TIME=de_DE.utf8 LC_COLLATE=de_DE.utf8 [5] LC_MONETARY=C LC_MESSAGES=de_DE.utf8 [7] LC_PAPER=de_DE.utf8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=de_DE.utf8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code