Is it possible to configure and build an R without any graphics support. I..e no grDevices or graphics packages? I tried "--with-x=no --with-cairo=no --with-grDevices=no --with-graphics=no" but it is still building grDevices. My problem is that I am using experimenting with a compiler that cannot compile the Objective-C file, qdCocoa.m, and I don't need graphics for this experiment. Max OS X El Capitan, R-3.2.4. Thanks Mick Jordan
On 23 May 2016 at 16:44, Mick Jordan wrote: | Is it possible to configure and build an R without any graphics support. | I..e no grDevices or graphics packages? | | I tried "--with-x=no --with-cairo=no --with-grDevices=no | --with-graphics=no" | | but it is still building grDevices. | | My problem is that I am using experimenting with a compiler that cannot | compile the Objective-C file, qdCocoa.m, and I don't need graphics for | this experiment. | | Max OS X El Capitan, R-3.2.4. Yes of course and all of this is documented, and discussed in many places. i) You still need x11 in most cases for _font metrics_ ii) The key is more or less to build as normal and to run headless iii) To run headless under a normal Unix OS, you prefix your commands with xvfb-run iv) I have no idea what special demands Cupertino puts on this. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
Um... any reason why you don't simply disable aqua? That file is only compiled if you enable aqua - it has really nothing to do with grDevices ... On May 23, 2016, at 7:44 PM, Mick Jordan <mick.jordan at oracle.com> wrote:> Is it possible to configure and build an R without any graphics support. I..e no grDevices or graphics packages? > > I tried "--with-x=no --with-cairo=no --with-grDevices=no --with-graphics=no" > > but it is still building grDevices. > > My problem is that I am using experimenting with a compiler that cannot compile the Objective-C file, qdCocoa.m, and I don't need graphics for this experiment. > > Max OS X El Capitan, R-3.2.4. > > Thanks > Mick Jordan > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >
On 24/05/2016 00:54, Simon Urbanek wrote:> Um... any reason why you don't simply disable aqua? That file is only compiled if you enable aqua - it has really nothing to do with grDevices ...Also, you can specify a compiler for Objective-C separately and the manual advises you to do so (to specify Apple's clang).> On May 23, 2016, at 7:44 PM, Mick Jordan <mick.jordan at oracle.com> wrote: > >> Is it possible to configure and build an R without any graphics support. I..e no grDevices or graphics packages? >> >> I tried "--with-x=no --with-cairo=no --with-grDevices=no --with-graphics=no"Inventing flags does not help you: use configure --help to see what is supported (as the manual says). Reading the manual is faster than posting (and posting Mac-specific Qs to R-sig-mac is more likely to get an informed response).>> but it is still building grDevices. >> >> My problem is that I am using experimenting with a compiler that cannot compile the Objective-C file, qdCocoa.m, and I don't need graphics for this experiment. >> >> Max OS X El Capitan, R-3.2.4. >> >> Thanks >> Mick Jordan-- Brian D. Ripley, ripley at stats.ox.ac.uk Emeritus Professor of Applied Statistics, University of Oxford