Skip to content
Prev 378848 / 398502 Next

rgl.postscript hang

I suspect it isn't actually hung, it is just very, very slow.  If I 
change the line

x <- (-100:100)/5

to

x <- (-20:20)/5

then it works almost instantly.  At

x <- (-50:50)/5

it is slow (16 seconds); replacing the 50 with 60, 70 or 80 yields 29, 
46, or 120 seconds respectively. So far I haven't been patient enough to 
know what

x <- (-90:90)/5

would take.  This doesn't really make sense:  with

x <- (-n:n)/5

it will need to sort (2n + 1)^2 objects, but that should take something 
proportional to n^2 log(n) time, and the time seems to be growing faster 
than that.

Duncan Murdoch
On 10/03/2019 2:57 p.m., J C Nash wrote: