From jmc@research.bell-labs.com  Mon Nov 11 16:26:52 2002
From: jmc@research.bell-labs.com (John Chambers)
Date: Mon, 11 Nov 2002 11:26:52 -0500
Subject: C macros NEW and MAKE_CLASS
Message-ID: <3DCFDA4C.E63962C3@research.bell-labs.com>

Definitions of these have been added to the r-devel version, following
page 441 in Programming with Data.

Typical use is in the style:

  char *class = "foo";  SEXP cldef, object;
  clDef = MAKE_CLASS(class);
  object = NEW(clDef);

Let me know of any problems.

John

-- 
John M. Chambers                  jmc@bell-labs.com
Bell Labs, Lucent Technologies    office: (908)582-2681
700 Mountain Avenue, Room 2C-282  fax:    (908)582-3340
Murray Hill, NJ  07974            web: http://www.cs.bell-labs.com/~jmc
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


C macros NEW and MAKE_CLASS
John Chambers