HTMLbr                package:R2HTML                R Documentation

_F_a_c_i_l_i_t_y _f_u_n_c_t_i_o_n_s _t_o _w_r_i_t_e _H_T_M_L _c_o_d_e

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

     Write <br>, <li> and <hr> tags, which are often used, to an output
     file.

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

     HTMLbr(x=1,file = .HTML.file,append=TRUE)
     HTMLli(txt="",file = .HTML.file,append=TRUE)
     HTMLhr(file = .HTML.file, Width = "100%", Size = "1",CSSclass=NULL,append=TRUE)

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

       x: number of <br> to put 

     txt: text to appear after the <li> tag 

    file: HTML target output file

   Width: value of the width HR optional argument, in pixel or percent

    Size: value of the size HR optional argument

  append: logical. If 'TRUE' output will be appended to 'file';
          otherwise, it will overwrite the contents of 'file'

CSSclass: CSS class to use for personalised reports 

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

     no value returned.

_N_o_t_e:

     For a discussion about .HTML.file default value for file argument,
     refer to 'HTMLStart'

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

     Eric Lecoutre

_R_e_f_e_r_e_n_c_e_s:

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

     'HTML'

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

     ## Insert a line to a HTML file
     ## Change the path/name of the file to redirect to your test file

     myfile <- paste(tempfile(),".html",sep="")
     HTMLhr(file=myfile)
     cat("\n Test output written in: ",myfile)

