savePlot                package:base                R Documentation

_S_a_v_e _W_i_n_d_o_w_s _P_l_o_t _t_o _a _F_i_l_e

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

     Saves the current plot on a `windows' device to a file.

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

     savePlot(filename="Rplot",
              type=c("wmf", "png", "jpeg", "jpg", "bmp", "ps"),
              device=dev.cur())

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

filename: The filename under which to save the plot, without the
          extension.

    type: The type of plot, Windows metafile, PNG, JPEG, BMP (Windows
          bitmap format)  or PostScript.

  device: A device number of a `windows' device, by default the current
          device.

_D_e_t_a_i_l_s:

     This is equivalent to selecting the `Save as' menu item on the
     `File' menu of a devga device.

     Using `filename' as `"clipboard"' or `""' with `type = "wmf"' will
     copy to the clipboard.

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

     None, but a plot file will be created.

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

     Guido Masarotto, B. D. Ripley

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

     `dev.print'

