R/utils.R
sps.Rd
Set plot size for jupyter IRKernel
sps(width, height)
width of the plot
height of the plot
previous width and height (invisibly)
sps(10, 5) plot(1:10) # save previous size prev <- sps(5, 5) plot(1:10) sps(prev[1], prev[2])