| Line 92... |
Line 92... |
| 92 |
\code{foo <- Sys.getlocale()} can be used in
|
92 |
\code{foo <- Sys.getlocale()} can be used in
|
| 93 |
\code{Sys.setlocale("LC_ALL", locale = foo)}.
|
93 |
\code{Sys.setlocale("LC_ALL", locale = foo)}.
|
| 94 |
}
|
94 |
}
|
| 95 |
|
95 |
|
| 96 |
\section{Available locales}{
|
96 |
\section{Available locales}{
|
| 97 |
On most Unix-alkes the POSIX shell command \command{locale -a} will
|
97 |
On most Unix-alikes the POSIX shell command \command{locale -a} will
|
| 98 |
list the \sQuote{available public} locales. What that means is
|
98 |
list the \sQuote{available public} locales. What that means is
|
| 99 |
platform-dependent. On recent Linuxen this may mean \sQuote{available
|
99 |
platform-dependent. On recent Linuxen this may mean \sQuote{available
|
| 100 |
to be installed} as on some RPM-based systems the locale data is in
|
100 |
to be installed} as on some RPM-based systems the locale data is in
|
| 101 |
separate RPMS. On Debian/Ubuntu the set of available locales is
|
101 |
separate RPMs. On Debian/Ubuntu the set of available locales is
|
| 102 |
managed by OS-specific facilities such as \command{locale-gen} and
|
102 |
managed by OS-specific facilities such as \command{locale-gen} and
|
| 103 |
\command{locale -a} lists those currently enabled.
|
103 |
\command{locale -a} lists those currently enabled.
|
| 104 |
|
104 |
|
| 105 |
For Windows, MicroSoft moves its documentation frequently so a Web
|
105 |
For Windows, Microsoft moves its documentation frequently so a Web
|
| 106 |
search is the best way to find current information.
|
106 |
search is the best way to find current information.
|
| 107 |
}
|
107 |
}
|
| 108 |
|
108 |
|
| 109 |
% assume this just affects strtod/atof, scanf/printf and friends,
|
109 |
% assume this just affects strtod/atof, scanf/printf and friends,
|
| 110 |
% as seems to be the case in glibc.
|
110 |
% as seems to be the case in glibc.
|