Displaying 1 result from an estimated 1 matches for "nulldevicedriv".
Did you mean:
nulldevicedriver
2005 Apr 02
2
Building new graphic device drivers with g++
...============================================
======================
#include <R.h>
#include <Rinternals.h>
#include <Rgraphics.h>
#include <Rdevices.h>
#include <R_ext/GraphicsDevice.h>
#include <R_ext/GraphicsEngine.h>
extern "C" {
static Rboolean nullDeviceDriver(NewDevDesc *dev);
SEXP do_devNULL() {
NewDevDesc *dev = NULL;
GEDevDesc *dd;
R_CheckDeviceAvailable();
if (!(dev = (NewDevDesc *) calloc(1, sizeof(NewDevDesc))))
return R_NilValue;
dev->displayList = R_NilValue;
if (!nullDeviceDriver(dev)) {
free(dev);...