C macros NEW and MAKE_CLASS

John Chambers jmc@research.bell-labs.com
Mon, 11 Nov 2002 11:26:52 -0500

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 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