Learn R Programming

ABarray (version 1.40.0)

savejpg: save device to jpg image file

Description

save plot device to jpg image file

Usage

savejpg(x, width = 1024, height = 768)

Arguments

x
file name to be saved to
width
The width for the figure in pixal
height
The height for the figure

Value

For windows version, it produce bmp formatted image, otherwise, produce jpg images.

Examples

Run this code

Run the code above in your browser using DataLab