In code I linked to a dialog I would like to specify the size of the output plot. I'm using the standar 'plot' function in R.
When I specify
dev.new(width=7, height=7) I get the error 'Error in
plot.new() : figure margins too large'. I have tried smaller numbers but get the same error. Should I use a different command within JGR/Deducer? This worked fine from the R-gui on Mac.
Perhaps relevant, when I type
dev.new(width=7,height=7) in JGR a really tiny plot window opens.
> plot(1:10)
Error in
plot.new() : figure margins too large
I also included some code to make a 3D plot using RGL. Everything looks great from the R-gui on mac when I try running it through JGR/Deducer the sizing command (see below) is ignored and then I try to increase the size of the window JGR crashes (see attached).
r3dDefaults$windowRect <- c(0,0, 1400, 1400)
Any suggestions?