httpd                package:R.httpd                R Documentation

_S_t_a_r_t_s _o_r _s_t_o_p_s _t_h_e _i_n_t_e_r_n_a_l _w_e_b _b_r_o_w_s_e_r

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

     Starts or stops the internal web browser.

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

     ## Default S3 method:
     httpd(port=getOption("R.httpd/port"), start=TRUE, stop=FALSE, ...)

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

    port: An optional 'integer' for the port of the URL.

   start: If 'TRUE', the internal R web server is started if not
          already started, otherwise not.

    stop: If 'TRUE', the internal R web server is stopped, if started.

     ...: Not used.

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

     Returns (invisibly) 'TRUE' if the action was successful and
     performed, otherwise 'FALSE'.

_A_u_t_h_o_r(_s):

     Henrik Bengtsson (<URL: http://www.braju.com/R/>)

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

     The 'HttpDaemon' class.

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

     if (interactive()) {
       httpd(port=8074)
       browseURL("http://127.0.0.1:8074/library/R.httpd/DESCRIPTION")
     }

