My system environment:
Mac OS: Mac Mojave (10.14.6) X11 (XQuartz 2.7.11) R (3.6.3)
What should I do to get rgl package to work with mgcViz work on my machine.