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 |
Are the |
http/ftp |
Are |
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? |
cairo |
is there support for |
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
capabilities()
if(!capabilities("http/ftp"))
warning("internal download.file() is not available")
## See also the examples for 'connections'.