Professional Documents
Culture Documents
html
Description
Report on the optional features which have been compiled into this build of R.
Usage
capabilities(what = NULL)
Arguments
what
character vector or NULL, specifying required components. NULL implies that all are required.
Value
jpeg
is the jpeg function operational?
png
is the png function operational?
tiff
is the tiff function operational?
tcltk
is the tcltk package operational?
X11
always FALSE on Windows.
aqua
FALSE except on macOS.
http/ftp
does the internal method for url and download.file support http:// and ftp://
URLs? Always TRUE as from R 3.3.0.
sockets
are make.socket and related functions available? Always TRUE as from R 3.3.0.
libxml
is there support for integrating libxml with the R event loop? Always TRUE as from
R 3.3.0.
1 of 3 18/Sep/2017, 11:10 PM
R: Report Capabilities of this Build of R http://127.0.0.1:28599/library/base/html/capabilities.html
fifo
are FIFO connections supported?
cledit
is command-line editing available in the current R session? This is false in non-
interactive sessions.
iconv
is internationalization conversion via iconv supported? Always true in current R.
NLS
is there Natural Language Support (for message translations)?
profmem
is there support for memory profiling? See tracemem.
cairo
is there support for the svg, cairo_pdf and cairo_ps devices, and for type =
"cairo" in the bmp, jpeg, png, and tiff devices?
ICU
is ICU available for collation? See the help on Comparison and icuSetCollate: it
is never used for a C locale.
long.double
does this build use a C long double type which is longer than double? Some
platforms do not have such a type, and on others its use can be suppressed by the
configure option --disable-long-double.
libcurl
is libcurl available in this build? Used by function curlGetHeaders and
optionally by download.file and url. As from R 3.3.0 always true for Unix-
alikes, and true for CRAN Windows builds.
See Also
.Platform and extSoftVersion (and links there) for availability capabilities external to R but
used from R functions.
Examples
capabilities()
if(!capabilities("ICU"))
warning("ICU is not available")
2 of 3 18/Sep/2017, 11:10 PM
R: Report Capabilities of this Build of R http://127.0.0.1:28599/library/base/html/capabilities.html
3 of 3 18/Sep/2017, 11:10 PM