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