capabilities              package:base              R Documentation

_R_e_p_o_r_t _C_a_p_a_b_i_l_i_t_i_e_s _o_f _t_h_i_s _B_u_i_l_d _o_f _R

_D_e_s_c_r_i_p_t_i_o_n:

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

_U_s_a_g_e:

     capabilities(what = NULL)

_A_r_g_u_m_e_n_t_s:

    what: character vector or 'NULL', specifying required components. 
          'NULL' implies that all are required.

_V_a_l_u_e:

     A named logical vector. Current components are 

    jpeg: Is the 'jpeg' function operational?

     png: Is the 'png' function operational?

   tcltk: Is the 'tcltk' package operational?

     X11: (Unix)  Are the 'X11' graphics device and the X11-based data
          editor available?

   GNOME: (Unix)  Is the GNOME GUI in use?  This is deprecated, and
          will be removed from R 2.1.0.  Use '.Platform$GUI' instead.

    libz: Is 'gzfile' available?  From R 1.5.0 this will always be
          true, and is deprecated.

http/ftp: Are 'url' and the internal method for 'download.file'
          available?

 sockets: Are 'make.socket' and related functions available?

  libxml: Is there support for integrating 'libxml' with the R event
          loop?

    fifo: are FIFO connections supported?

  cledit: 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 'readline' support has been
          compiled in and '--no-readline' was _not_ invoked. 

 IEEE754: Does this platform have IEEE 754 arithmetic?  Note that this
          is more correctly known by the international standard IEC
          60559, and will always be true from R version 2.0.0.

   bzip2: Is 'bzfile' available?  From R 1.7.0 this will always be
          true, and is deprecated.

    PCRE: Is the Perl-Compatible Regular Expression library available? 
          This is needed for the 'perl = TRUE' option to 'grep' are
          related function.  From R 1.7.0 this will always be true, and
          is deprecated.

_S_e_e _A_l_s_o:

     '.Platform'

_E_x_a_m_p_l_e_s:

     capabilities()

     if(!capabilities("http/ftp"))
        warning("internal download.file() is not available")

     ## See also the examples for 'connections'.

