Report Capabilities of this Build of R
Report on the optional features which have been compiled into this build of R.
capabilities(what = NULL)
- character vector or
NULL, specifying required components.
NULLimplies that all are required.
A named logical vector. Current components are
- is the
- is the
- is the
- is the tcltk package operational?
Note that to make use of Tk you will almost always need to check
"X11"is also available. unix
urland the internal method for
make.socketand related functions available?
- is there support for integrating
libxmlwith the R event loop?
- are FIFO connections supported?
- 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
readlinesupport has been compiled in and --no-readline was not used when R was invoked. (If --interactive was used, command-line editing will not actually be available.)
- is internationalization conversion via
iconvsupported? Always true in current R.
- is there Natural Language Support (for message translations)?
- is there support for memory profiling? See
- is there support for the
cairo_psdevices, and for
type = "cairo"in the unix
- is ICU available for collation? See the help on
icuSetCollate: it is never used for a C locale.
- does this build use a
long doubletype 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.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.
X11graphics 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
X11device has already been used.aquaIs the
quartzfunction operational? Only on some OS X builds, including CRAN binary distributions of R.Note that this is distinct from
.Platform$GUI == "AQUA", which is true only when using the Mac
R.appGUI console. windows X11always
FALSEon Windows. aqua
FALSEexcept on OS X.
capabilities() if(!capabilities("http/ftp")) warning("internal download.file() method is not available") ## See also the examples for 'connections'.
Looks like there are no examples yet.