Rev 27447 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{capabilities}\alias{capabilities}\title{Report Capabilities of this Build of R}\description{Report on the optional features which have been compiled into thisbuild of \R.}\usage{capabilities(what = NULL)}\arguments{\item{what}{character vector or \code{NULL}, specifyingrequired components. \code{NULL} implies that all are required.}}\value{A named logical vector. Current components are\item{jpeg}{Is the \code{\link[graphics]{jpeg}} function operational?}\item{png}{Is the \code{\link[graphics]{png}} function operational?}\item{tcltk}{Is the \pkg{tcltk} package operational?}\item{X11}{(Unix) Are \code{X11} and the data editor available?}\item{GNOME}{(Unix) Is the GNOME GUI in use and are \code{GTK} and\code{GNOME} graphics devices available?}\item{libz}{Is \code{\link{gzfile}} available? From \R 1.5.0 thiswill always be true.}\item{http/ftp}{Are \code{\link{url}} and the internal method for\code{\link[utils]{download.file}} available?}\item{sockets}{Are \code{\link[utils]{make.socket}} and related functionsavailable?}\item{libxml}{Is there support for integrating \code{libxml} withthe \R event loop?}\item{cledit}{Is command-line editing available in the current \Rsession? This is false in non-interactive sessions.#ifdef unixIt will be true if \code{readline} supported has been compiled inand \option{--no-readline} was \emph{not} invoked.#endif}\item{IEEE754}{Does this platform have IEEE 754 arithmetic? Notethat this is more correctly known by the international standardIEC 60559.}\item{bzip2}{Is \code{\link{bzfile}} available?}\item{PCRE}{Is the Perl-Compatible Regular Expression libraryavailable? This is needed for the \code{perl = TRUE} option to\code{\link{grep}} are related function.}}}\seealso{\code{\link{.Platform}}}\examples{capabilities()if(!capabilities("http/ftp"))warning("internal download.file() is not available")## See also the examples for 'connections'.}\keyword{utilities}