Rev 44421 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% File src/library/base/man/capabilities.Rd% Part of the R package, http://www.R-project.org% Copyright 1995-2008 R Core Development Team% Distributed under GPL 2 or later\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{jpeg}} function operational?}\item{png}{Is the \code{\link{png}} function operational?}\item{tcltk}{Is the \pkg{tcltk} package operational?}\item{X11}{(Unix) Are the \code{X11} graphics device and theX11-based data editor available? This loads theX11 module if not already loaded, and checks that the defaultdisplay can be contacted unless a \code{X11} device has alreadybeen used.}\item{http/ftp}{Are \code{\link{url}} and the internal method for\code{\link{download.file}} available?}\item{sockets}{Are \code{\link{make.socket}} and related functionsavailable?}\item{libxml}{Is there support for integrating \code{libxml} withthe \R event loop?}\item{fifo}{are FIFO connections supported?}\item{cledit}{Is command-line editing available in the current \Rsession? This is false in non-interactive sessions.#ifdef unixIt will be true for the command-line interface if \code{readline}support has been compiled in and \option{--no-readline} was\emph{not} invoked.#endif}\item{iconv}{is internationalization conversion via\code{\link{iconv}} supported?}\item{NLS}{is there Natural Language Support (for message translations)?}\item{profmem}{is there support for memory profiling?}#ifdef windows\item{cairo}{applies to Unix-alikes -- always \code{FALSE}.}#endif#ifdef unix\item{cairo}{is there support \code{type="Cairo"} in\code{\link{X11}}, \code{\link{png}} and \code{\link{jpeg}}.}#endif}\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}