From jeff.horner at vanderbilt.edu  Fri Oct  2 23:42:52 2009
From: jeff.horner at vanderbilt.edu (Jeffrey Horner)
Date: Fri, 02 Oct 2009 16:42:52 -0500
Subject: [Rd] Because it's Friday. was creating environments in package's C
	code
In-Reply-To: <E04283F5-2542-4FE5-B7EE-A9D1F691C0B4@r-project.org>
References: <4AC4CBD9.7010309@mx.uni-saarland.de>
	<4AC4D3C5.7090609@vanderbilt.edu> <4AC4DAC8.6010107@vanderbilt.edu>
	<E04283F5-2542-4FE5-B7EE-A9D1F691C0B4@r-project.org>
Message-ID: <4AC673DC.3060503@vanderbilt.edu>

Simon Urbanek wrote on 10/01/2009 11:51 AM:
[...]
> I suspect you like reinventing the wheel ;). Your NewInteger is part of 
> the R API and is called ScalarInteger(). When you need something, 
> chances are that R has it already, so it's worth greping through the 
> headers (and sometimes even through the main sources).

I am reminded of what Robert Gentleman said at DSC 2005 during the R/S 
round-chair discussion: "Brian Ripley is the only one I know who keeps R 
in his frontal lobe."

I can only aspire to such greatness, Simon.

Jeff



[Rd] Because it's Friday. was creating environments in package's C code
Jeffrey Horner