search for: lcset

Displaying 2 results from an estimated 2 matches for "lcset".

Did you mean: cset
2002 Oct 30
1
gam bug with poisson family? (PR#2234)
...hate to bother you if this is not a bug. I tried a GAM with a poisson family link, and I'm getting an error message that I do not understand. Many apologies if this is user inexperience. Thanks, BHA. > library(mgcv) This is mgcv 0.8.1 > lcgam <- gam(lc ~ s(Day), family=poisson, data=lcset) Warning messages: 1: `Machine' is deprecated. Use `.Machine' instead. See ?Deprecated. 2: `Machine' is deprecated. Use `.Machine' instead. See ?Deprecated. 3: `Machine' is deprecated. Use `.Machine' instead. See ?Deprecated. 4: `Machine' is deprecated. Use `.Machine...
2025 Feb 11
0
A few problems with Sys.setLanguage()
...ot;, "C.utf8", "POSIX")) -> candidates locale <- if (any(mask <- startsWith(candidates, lang))) { candidates[mask][[1]] } else if (length(candidates)) { candidates[[1]] } else { "en_US.UTF-8" # maybe it's available despite 'locale -a' failing? } lcSet <- Sys.setlocale("LC_MESSAGES", locale) Unfortunately, that's not all: translations are also affected by the LC_CTYPE category of the current locale, and gettext() will try to convert the translations into that locale's encoding before returning them. What about LC_CTYPE being...