HTM2clip               package:R2HTML               R Documentation

_W_r_a_p_p_e_r _a_r_o_u_n_d _H_T_M_L() _t_o _s_a_v_e _o_u_t_p_u_t _t_o _t_h_e _c_l_i_p_b_o_a_r_d

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

     Calls HTML() with appropriate filename and append attributes to
     write output to clipboard (currently  only works on Windows).

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

             HTML2clip(x, filename = file("clipboard", ifelse(.Platform$OS == "windows","w",stop("Writing to clipboard only supported on Windows"))), append = FALSE, ...) 

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

       x: object to be output to HTML 

filename: destination output file, defaults to clipboard 

  append: logical. If 'TRUE' output will be appended to 'file'; 
          otherwise, it will overwrite the contents of 'file'decides if
          the filevalue of the width HR optional argument, in pixel or
          percent

     ...: ... (passed on to HTML())

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

     no value returned.

_N_o_t_e:

     This function was contributed by Gabor Grothendieck.

_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:

     if (.Platform$OS == "windows")
             HTML2clip(summary(lm(rating ~., attitude)))

