ID EN
Vector & List

capabilities

R Base 3.6.2

Report on the optional features which have been compiled into this build of R.

Syntax

R
capabilities(what = NULL)

Arguments

Parameter Description
what character vector or NULL, specifying required components. NULL implies that all are required.

Return Value

A named logical vector. Current components are jpegis the jpeg function operational? pngis the png function operational? tiffis the tiff function operational? tcltkis the tcltk package operational? Note that to make use of Tk you will almost always need to check that "X11" is also available. X11are the X11 graphics device and the X11-based data editor available? This loads the X11 module if not already loaded, and checks that the default display can be contacted unless a X11 device has already b

Examples

Example
R
# NOT RUN {
capabilities()

if(!capabilities("ICU"))
   warning("ICU is not available")

## See also the examples for 'connections'.
# }

See Also

.Platform and extSoftVersion (and links there) for availability capabilities external to R but used from R functions.