Skip to content

Commit

Permalink
comments on locale names, Java on OS X
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/trunk@69406 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
ripley committed Sep 22, 2015
1 parent 2237282 commit 19e0273
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/manual/R-admin.texi
Expand Up @@ -4846,14 +4846,15 @@ tclvalue(.Tcl("tk windowingsystem")) # "x11" or "aqua"
@node Java (OS X), Frameworks, Tcl/Tk headers and libraries, OS X
@subsection Java

The situation with Java support on OS X is messy.
The situation with Java support on OS X is messy.@footnote{For more
detals see @uref{http://www.macstrategy.com/article.php?3}.}

OS X no longer comes with an installed Java runtime (JRE), and an OS X
upgrade removes one if already installed: it is intended to be installed
at first use. Check if a JRE is installed by running @command{java
-version} in a @command{Terminal} window: if Java is not installed this
should prompt you to install it. You can also install directly the
latest Java from Oracle (currently Java 8 from
latest Java from Oracle (currently from
@uref{http://www.oracle.com/technetwork/java/javase/downloads/index.html}).

You may need to install what Apple calls `legacy Java'@footnote{e.g.@:
Expand Down
8 changes: 8 additions & 0 deletions doc/manual/R-exts.texi
Expand Up @@ -4205,6 +4205,14 @@ specified by @option{-l} options) to be found from those directories,
and libraries are searched once in the order they are specified. Not
all linkers allow a space after @option{-L} .

@item
Some people have a need to set a locale. Locale names are not portable,
and e.g.@: @samp{fr_FR.utf8} is common used on Linux but not accepted on
either Solaris or OS X. @samp{fr_FR.UTF-8} is more portable, being
accepted on recent Linux, AIX, FreBSD, OS X and Solaris (at least).
However, some Linux distributions micro-package, so locales defined by
@pkg{glibc} (including these examples) may not be installed.

@end itemize

Do be careful in what your tests (and examples) actually test. Bad
Expand Down

0 comments on commit 19e0273

Please sign in to comment.