capabilities {base} | R Documentation |
Report on the optional features which have been compiled into this build of R.
capabilities(what = NULL)
what |
character vector or |
A named logical vector. Current components are
jpeg |
is the |
png |
is the |
tiff |
is the |
tcltk |
is the tcltk package operational?
Note that to make use of Tk you will almost always need to check
that |
X11 |
are the |
aqua |
is the Note that this is distinct from |
http/ftp |
does the internal method for |
sockets |
are |
libxml |
is there support for integrating |
fifo |
are FIFO connections supported? |
cledit |
is command-line editing available in the current R
session? This is false in non-interactive sessions.
It will be true for the command-line interface if |
iconv |
is internationalization conversion via
|
NLS |
is there Natural Language Support (for message translations)? |
profmem |
is there support for memory profiling? See
|
cairo |
is there support for the |
ICU |
is ICU available for collation? See the help on
Comparison and |
long.double |
does this build use a Although not guaranteed, it is a reasonable assumption that if present long doubles will have at least as much range and accuracy as the ISO/IEC 60559 80-bit ‘extended precision’ format. |
libcurl |
is |
Capabilities "jpeg"
, "png"
and "tiff"
refer to
the X11-based versions of these devices. If
capabilities("aqua")
is true, then these devices with
type = "quartz"
will be available, and out-of-the-box will be the
default type. Thus for example the tiff
device will be
available if capabilities("aqua") || capabilities("tiff")
if
the defaults are unchanged.
.Platform
and extSoftVersion
(and
links there) for availability capabilities external to R but
used from R functions.
capabilities() if(!capabilities("ICU")) warning("ICU is not available") ## See also the examples for 'connections'.