Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buggy interaction with quartz() device on macOS #27

Closed
dmurdoch opened this issue Feb 18, 2021 · 0 comments
Closed

Buggy interaction with quartz() device on macOS #27

dmurdoch opened this issue Feb 18, 2021 · 0 comments

Comments

@dmurdoch
Copy link
Owner

On at least two systems (one running Catalina, the other running Big Sur), this code causes rgl to segfault:

library(rgl)
plot(1:10, col=7)
open3d()

The problem appears to be opening a quartz() window in between initializing rgl and drawing the first rgl plot.

dmurdoch added a commit that referenced this issue Feb 24, 2021
* Ugly workaround for incompatibility with quartz device.  Code to illustrate is

 library(rgl)
 plot(1:10, col=7)
 open3d()

which fails on macOS.
dmurdoch added a commit that referenced this issue Mar 3, 2021
* Add drat repository for webshot2

* Fixes to address issues on Solaris, plus some minor stuff (#20)

* Ignore CRAN-RELEASE file

* Allow rgl.snapshot args to snapshot3d.  Fixes issue #21. (#22)

* Protect against missing Pandoc in transparency.Rmd.

* Commit notes etc.

* Remove notes

* Update version number and NEWS

* Fixes issue #27 (#28)

* Ugly workaround for incompatibility with quartz device.  Code to illustrate is

 library(rgl)
 plot(1:10, col=7)
 open3d()

which fails on macOS.

* Additional test for WebGL support, fixes issue #31. (#32)

* Additional test for WebGL support, fixes issue #31.

* add Biarch to DESCRIPTION, fix #19 (#23)

* add Biarch: true to DESCRIPTION, fix issue #19

* Fixes issue #33 : the code for fat lines skipped the wrong entries (#34)

* Fixes issue #33 : the code for fat lines skipped the wrong entries

* Fix lint warning

* Workaround for quartz() device incompatibility (#35)

* Ugly workaround for incompatibility with quartz device.  Code to illustrate is

 library(rgl)
 plot(1:10, col=7)
 open3d()

which fails on macOS.

Allowed R option "rgl.startQuartz" to override the automatic decision, fixed it so it runs on RStudio by default.

* README updates (fixes issue #26)

* Problem building with parallel make (issue #36) (#37)

Fixes error in src/useNULL/Makevars.in that only showed up in parallel makes.

* Get ready for CRAN submission

Co-authored-by: Jeff Hanson <jeffrey.hanson@uqconnect.edu.au>
dmurdoch added a commit that referenced this issue Mar 8, 2021
* A start:  inserts the JSON, but doesn't add the assets.

* Merge master into branch (#41)

* Add drat repository for webshot2

* Fixes to address issues on Solaris, plus some minor stuff (#20)

* Ignore CRAN-RELEASE file

* Allow rgl.snapshot args to snapshot3d.  Fixes issue #21. (#22)

* Protect against missing Pandoc in transparency.Rmd.

* Commit notes etc.

* Remove notes

* Update version number and NEWS

* Fixes issue #27 (#28)

* Ugly workaround for incompatibility with quartz device.  Code to illustrate is

 library(rgl)
 plot(1:10, col=7)
 open3d()

which fails on macOS.

* Additional test for WebGL support, fixes issue #31. (#32)

* Additional test for WebGL support, fixes issue #31.

* add Biarch to DESCRIPTION, fix #19 (#23)

* add Biarch: true to DESCRIPTION, fix issue #19

* Fixes issue #33 : the code for fat lines skipped the wrong entries (#34)

* Fixes issue #33 : the code for fat lines skipped the wrong entries

* Fix lint warning

* Workaround for quartz() device incompatibility (#35)

* Ugly workaround for incompatibility with quartz device.  Code to illustrate is

 library(rgl)
 plot(1:10, col=7)
 open3d()

which fails on macOS.

Allowed R option "rgl.startQuartz" to override the automatic decision, fixed it so it runs on RStudio by default.

* README updates (fixes issue #26)

* Problem building with parallel make (issue #36) (#37)

Fixes error in src/useNULL/Makevars.in that only showed up in parallel makes.

* Get ready for CRAN submission

Co-authored-by: Jeff Hanson <jeffrey.hanson@uqconnect.edu.au>

* Some progress, but not working yet.

* Hack to get scripts from the WebGL vignette files.

* Update notes

* Getting closer, but dependencies aren't being handled properly yet.

* Now working with is_low_change etc.

* Fix leakage across example pages, start on reference index

* Updates from master branch, plus changes to avoid check errors

* Updates (skip CI)

* Finish first version of reference page, start on deployment.

* Copy code from other workflow

Co-authored-by: Jeff Hanson <jeffrey.hanson@uqconnect.edu.au>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant