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 `X11' and the data editor available?

    libz: Is `gzfile' available?

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?

_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'.

