From matwey.kornilov at gmail.com  Fri May 10 14:55:00 2013
From: matwey.kornilov at gmail.com (Matwey V. Kornilov)
Date: Fri, 10 May 2013 16:55:00 +0400
Subject: [Rd] call R function from C code
In-Reply-To: <AD1B2862-34DB-42E4-BCDF-52FCEE80ACC5@r-project.org>
References: <kme57t$sca$1@ger.gmane.org>
	<2DC85D00-8F28-4EFA-BBE7-D5488B1DC894@r-project.org>
	<CADwqtCNZrAsF+j5NCqiAnqz7Go4eGSE5ctw0Hb0nYOjP6vswdA@mail.gmail.com>
	<kmiev2$qj2$1@ger.gmane.org>
	<AD1B2862-34DB-42E4-BCDF-52FCEE80ACC5@r-project.org>
Message-ID: <kmiqmv$mv9$1@ger.gmane.org>


Thank you all,

the following seems to work just great for me:

PROTECT(sx = eval(lang3(install("solve"),sA,sb),R_BaseEnv))



[Rd] call R function from C code
Matwey V. Kornilov