openHtmlPage           package:geneplotter           R Documentation

_O_p_e_n _a_n_d _c_l_o_s_e _a_n _H_T_M_L _f_i_l_e _f_o_r _w_r_i_t_i_n_g.

_D_e_s_c_r_i_p_t_i_o_n:

     Open and close an HTML file for writing..

_U_s_a_g_e:

       openHtmlPage(name, title="")
       closeHtmlPage(con)

_A_r_g_u_m_e_n_t_s:

    name: Character. File name (_without_ the extension '.html').

   title: Character. Value of the 'title' tag in the HTML header.

     con: Connection.

_D_e_t_a_i_l_s:

     See example.

_V_a_l_u_e:

     For 'openHtmlPage', a 'connection'.

_A_u_t_h_o_r(_s):

     Wolfgang Huber <URL: http://www.dkfz.de/abt0840/whuber>

_E_x_a_m_p_l_e_s:

       fn <- tempfile()
       con <- openHtmlPage(fn, "My page")
       writeLines("Hello world", con)
       closeHtmlPage(con)
       readLines(paste(fn, ".html", sep=""))

