EVOLUTION-MANAGER
Edit File: savePlotAsImage.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Save Active RStudio Plot as an Image</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for savePlotAsImage {rstudioapi}"><tr><td>savePlotAsImage {rstudioapi}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Save Active RStudio Plot as an Image</h2> <h3>Description</h3> <p>Save the currnently active RStudio as an image file. </p> <h3>Usage</h3> <pre> savePlotAsImage( file, format = c("png", "jpeg", "bmp", "tiff", "emf", "svg", "eps"), width, height ) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>file</code></td> <td> <p>Target filename</p> </td></tr> <tr valign="top"><td><code>format</code></td> <td> <p>Image format ("png", "jpeg", "bmp", "tiff", "emf", "svg", or "eps")</p> </td></tr> <tr valign="top"><td><code>width</code></td> <td> <p>Image width in pixels</p> </td></tr> <tr valign="top"><td><code>height</code></td> <td> <p>Image height in pixels</p> </td></tr> </table> <h3>Note</h3> <p>The <code>savePlotAsImage</code> function was introduced in RStudio 1.1.57 </p> <hr /><div style="text-align: center;">[Package <em>rstudioapi</em> version 0.11 <a href="00Index.html">Index</a>]</div> </body></html>