File: savePlotAsImage.Rd

package info (click to toggle)
r-cran-rstudioapi 0.17.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 916 kB
  • sloc: makefile: 2
file content (29 lines) | stat: -rw-r--r-- 694 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stubs.R
\name{savePlotAsImage}
\alias{savePlotAsImage}
\title{Save active RStudio plot image}
\usage{
savePlotAsImage(
  file,
  format = c("png", "jpeg", "bmp", "tiff", "emf", "svg", "eps"),
  width,
  height
)
}
\arguments{
\item{file}{The target file path.}

\item{format}{The Image format.
Must be one of ("png", "jpeg", "bmp", "tiff", "emf", "svg", or "eps").}

\item{width}{The image width, in pixels.}

\item{height}{The image height, in pixels.}
}
\description{
Save the plot currently displayed in the Plots pane as an image.
}
\note{
The \code{savePlotAsImage} function was introduced in RStudio 1.1.57.
}