Re: [R-SIG-Mac] more rgl problems

2021-02-18 Thread Duncan Murdoch
I've made some progress on this, but I don't know how to fix it properly. What's happening is that rgl is trying to open the new window that open3d() asks for. It gets most of the way through that operation, then calls glXMakeCurrent, which associates the OpenGL context with that window.

Re: [R-SIG-Mac] more rgl problems

2021-02-18 Thread Duncan Murdoch
On 18/02/2021 7:15 a.m., Peter West wrote: I’ve enabled /opt/X11/libexec/launchd_startx for full disk access in Security & Privacy, but it hasn’t fixed the problem. One approach that was fruitful for me: After uninstalling and reinstalling XQuartz 2.7.11, I looked around for related files

Re: [R-SIG-Mac] more rgl problems

2021-02-18 Thread Duncan Murdoch
On 18/02/2021 7:15 a.m., Peter West wrote: I’ve enabled /opt/X11/libexec/launchd_startx for full disk access in Security & Privacy, but it hasn’t fixed the problem. In any case, it's a generic XQuartz problem, not related to R or rgl. Duncan ___

Re: [R-SIG-Mac] more rgl problems

2021-02-18 Thread Peter West
I’ve enabled /opt/X11/libexec/launchd_startx for full disk access in Security & Privacy, but it hasn’t fixed the problem. > On 18 Feb 2021, at 10:06 pm, Peter West wrote: ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org

Re: [R-SIG-Mac] more rgl problems

2021-02-18 Thread Peter West
This is happening as a result of the Launch* startx and privileged_startx execution. The Operation not permitted stuff just scrolls on by. > On 18 Feb 2021, at 9:58 pm, Peter West wrote: > > Looks like an authorization problem. > > xclockk did not appear, so I had a look at system.log. > >

Re: [R-SIG-Mac] more rgl problems

2021-02-18 Thread Peter West
Looks like an authorization problem. xclockk did not appear, so I had a look at system.log. Here’s a sample. --- Feb 18 20:40:09 Rosie org.macosforge.xquartz.startx[10388]: waiting for X server to begin accepting connections Feb 18

Re: [R-SIG-Mac] more rgl problems

2021-02-18 Thread Duncan Murdoch
On 18/02/2021 6:14 a.m., Peter West wrote: Yes, I went through that process. I have no org.xquartz.* files in /Library Launch* now. If you run x11(), does it cause the same issue? What about not starting R at all, and just running some X11 app like xclock from the terminal? Duncan Murdoch

Re: [R-SIG-Mac] more rgl problems

2021-02-18 Thread Duncan Murdoch
I can reproduce this on a Catalina machine, working in R from the terminal. This definitely looks similar to the problem that rgl::setGraphicsDelay() was designed to solve, but even adding a 10 second delay doesn't help. I get a slightly different message than you: > open3d() error:

Re: [R-SIG-Mac] more rgl problems

2021-02-18 Thread Peter West
Yes, I went through that process. I have no org.xquartz.* files in /Library Launch* now. > On 18 Feb 2021, at 9:08 pm, Duncan Murdoch wrote: > > On 17/02/2021 10:13 p.m., Peter West wrote: >> And speaking of M1 Silicon: >> My XQuartz version is 2.7.11. >> Started R 4.0.4. >> Stopped R 4.0.4 >>

Re: [R-SIG-Mac] more rgl problems

2021-02-18 Thread Duncan Murdoch
On 17/02/2021 10:13 p.m., Peter West wrote: And speaking of M1 Silicon: My XQuartz version is 2.7.11. Started R 4.0.4. Stopped R 4.0.4 Started RStudio install.packages("rgl") trying URL 'https://cran.rstudio.com/bin/macosx/contrib/4.0/rgl_0.105.13.tgz' Content type 'application/x-gzip'

Re: [R-SIG-Mac] more rgl problems

2021-02-17 Thread Peter West
Ken, I only used RStudio because it is easier to remove packages. I should have made that clear. The same thing happens with R.app; that is, library(rgl) hangs indefinitely. Peter — p...@ehealth.id.au “For what does it profit a man if he gains the whole world and loses or forfeits himself?”

Re: [R-SIG-Mac] more rgl problems

2021-02-17 Thread Ken Beath
RStudio have a page for reporting bugs at https://github.com/rstudio/rstudio/issues/ You may be the first M! bug. They haven’t progressed my fairly serious bug report about Windows (if you plot a graph and the screen hasn’t updated when you start

Re: [R-SIG-Mac] more rgl problems

2021-02-17 Thread Peter West
And speaking of M1 Silicon: My XQuartz version is 2.7.11. Started R 4.0.4. Stopped R 4.0.4 Started RStudio > install.packages("rgl") trying URL 'https://cran.rstudio.com/bin/macosx/contrib/4.0/rgl_0.105.13.tgz' Content type 'application/x-gzip' length 6446159 bytes (6.1 MB)

[R-SIG-Mac] more rgl problems

2021-02-17 Thread Richard M. Heiberger
This is repeatable when the lines are all pasted in at once. The example works if I allow some time delay between lines. This is might be a relative of the one from a few months ago. But this message is about invalid permissions. = R version 4.0.4 RC (2021-02-12 r79998) -- "Lost Library