Re: XQuartz and xorg-server

2021-01-23 Thread Ryan Schmidt
On Jan 20, 2021, at 17:32, Peter West wrote: > I tried specifically building rgl from source. The source is available at > https://cran.r-project.org/src/contrib/rgl_0.104.16.tar.gz. > > In R.app console, remove rgl package. > > > remove.packages(“rgl”) > > install.packages(, repos = NULL,

Re: XQuartz and xorg-server

2021-01-22 Thread Bill Cole
On 22 Jan 2021, at 20:27, Peter West wrote: I assume all of these issues have been resolved for CPAN for perl and associated packages, but many R packages require compilation. Is that problem similar for CPAN? MacPorts provides a very large collection of Perl module ports, but not all of

Re: XQuartz and xorg-server

2021-01-22 Thread Peter West
R is in general a self-contained universe, as far as I can see. There is a mountain of packages that can be installed in the base system. In CRAN, packages are generally compiled into PIC code, or so the site says, but new versions of packages are often built from the R console, using the build

Re: XQuartz and xorg-server

2021-01-22 Thread Ken Cunningham
If you’re trying to make a new port for something, and running into trouble, I would suggest you open a ticket for it as a “request” ticket, post up what you have, and we can work it through there if possible. If you’re trying to build something that is already in MacPorts, but doesn’t build

Re: XQuartz and xorg-server

2021-01-21 Thread Peter West
Looking at the autoconf m4 files from /opt/local/share/autoconf/autoconf, I find two with lists of X11. autoconf.m4f, a generated file, and libs.m4, from which I assume autoconf.m4f was generated, have the following lists of X11 directories. ac_x_header_dirs=' /usr/X11/include

Re: XQuartz and xorg-server

2021-01-20 Thread Peter West
I tried specifically building rgl from source. The source is available at https://cran.r-project.org/src/contrib/rgl_0.104.16.tar.gz. In R.app console, remove rgl package. > remove.packages(“rgl”) > install.packages(, repos = NULL, type = “source”) It doesn’t find X, so it skips OpenGL;

Re: XQuartz and xorg-server

2021-01-18 Thread Peter West
$ sudo port install xorg-server $ sudo port install R $ sudo port install R-app Start MacPorts>R.app In the R.app console > install.packages(“rgl”) This will involve a lot of compilation. The OpenMP problem seems to have been resolved by using the compiler /opt/local/bin/clang++-mp-9.0, and

Re: XQuartz and xorg-server

2021-01-18 Thread Ryan Schmidt
On Jan 18, 2021, at 04:56, Peter West wrote: > 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

Re: XQuartz and xorg-server

2021-01-18 Thread Peter West
ckage, 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 s

Re: XQuartz and xorg-server

2021-01-16 Thread Ryan Schmidt
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, w

XQuartz and xorg-server

2021-01-16 Thread Peter West
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