From edd at debian.org  Tue May 24 01:54:36 2016
From: edd at debian.org (Dirk Eddelbuettel)
Date: Mon, 23 May 2016 18:54:36 -0500
Subject: [Rd] R without graphics
In-Reply-To: <574395E9.3010101@oracle.com>
References: <574395E9.3010101@oracle.com>
Message-ID: <22339.38972.224472.49894@max.nulle.part>


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



[Rd] R without graphics
Dirk Eddelbuettel