library(repr)
#Change plot size to 4 x 3
options(repr.plot.width=4,repr.plot.height=3)
curve(sin(x),from=0,to=2*pi,n=100)
#Change plot size to 8 x 3
options(repr.plot.width=8,repr.plot.height=3)
curve(sin(x),from=0,to=4*pi,n=200)
library(repr)
#Change plot size to 4 x 3
options(repr.plot.width=4,repr.plot.height=3)
curve(sin(x),from=0,to=2*pi,n=100)
#Change plot size to 8 x 3
options(repr.plot.width=8,repr.plot.height=3)
curve(sin(x),from=0,to=4*pi,n=200)