I’ve removed XQuartz (again), and installed R and R-app from MacPorts. The R 
install warned me that
Clang compilers provided by Xcode do not support OpenMP. Some R packages using 
OpenMP may require additional
  flags in the Makevar file (e.g. data.table) to build. Please consult package 
documentation.

I install.package’d data.table without whinging, then did the same for rgl. It 
built, but when I loaded the library, I was informed that
This build of rgl does not include OpenGL functions.

Looking around for mentions of OpenGL, I couldn’t se anything that looked like 
an OpenGL library.

Any suggestions?

Peter


--
Peter West
p...@pbw.id.au
“But new wine is for fresh wineskins.”

> On 17 Jan 2021, at 3:44 pm, Ryan Schmidt <ryandes...@macports.org> wrote:
> 
> On Jan 16, 2021, at 08:18, Peter West wrote:
> 
>> Following some general advice given earlier on the list, I had removed 
>> XQuartz and installed xorg-server. Now I am trying to load the rgl R 
>> library. At the end of the error message is
>> This build of rgl depends on XQuartz, which you can download from 
>> xquartz.org.
>> 
>> Am  stuck with using XQuartz if I want to run this package, or is it 
>> possible to switch between the two?
> 
> XQuartz and xorg-server are the same software, except that xorg-server is 
> several years more up to date. There would be no advantage to installing 
> XQuartz instead of xorg-server.
> 
> If the rgl R library is something you are installing outside of MacPorts, 
> then perhaps it is looking specifically for XQuartz in its install location 
> of /opt/X11. You may need to inform it that you have installed it to the 
> MacPorts prefix /opt/local instead.
> 

Reply via email to