PostScriptTrace           package:grImport           R Documentation

_C_o_n_v_e_r_t _P_o_s_t_S_c_r_i_p_t _f_i_l_e _t_o _R_G_M_L _f_i_l_e

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

     Converts a PostScript file into an RGML file, which is an XML
     document describing an image that can be read into R.

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

     PostScriptTrace(file, outfilename, charpath=TRUE)

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

    file: The name of the PostScript file.

outfilename: The name of the XML document.

charpath: A boolean indicating whether text in the PostScript file
          should be converted to vector outlines, or left as just text.

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

     This function calls ghostscript to do the conversion, so will only
     work if ghostscript is installed on your system.

     If text is converted to outlines, it can be drawn as outlines, or
     filled using a crude algorithm which may or may not work (see
     'grid.picture').  On the other hand, if text is left as just text,
     font information is not stored so the text may not end up looking
     much like the original.

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

     <URL: http://www.cs.wisc.edu/~ghost/>

