Evaluates `code` on an in-memory easeling device and returns the resulting drawing as a single character string - no file is involved. The device is opened before and closed after `code`, also on error.
Value
The DrawingML as a length-one character vector, ready for `openxlsx2::wb_add_drawing(xml = )`.
Examples
xml <- easel_xml(plot(1:10), width = 4, height = 3)