From simon.urbanek at r-project.org  Tue Mar  8 15:24:16 2016
From: simon.urbanek at r-project.org (Simon Urbanek)
Date: Tue, 8 Mar 2016 09:24:16 -0500
Subject: [Rd] ALLOCATE in a FORTRAN subroutine
In-Reply-To: <f1fc0374ef324178bc80444ac909996a@NOEINTPEXMU007.NEOPROD.EDF.FR>
References: <6c39c4cbb0fb4e6d80fb36ad28b2b89f@NOEINTPEXMU007.NEOPROD.EDF.FR>
	<VI1PR05MB153679050141DD2F5DE716E2A1BE0@VI1PR05MB1536.eurprd05.prod.outlook.com>
	<4dd413361f024d3381b387ea2331a007@NOEINTPEXMU007.NEOPROD.EDF.FR>
	<VI1PR05MB1536653150889A3C6C8D2E18A1B10@VI1PR05MB1536.eurprd05.prod.outlook.com>
	<f1fc0374ef324178bc80444ac909996a@NOEINTPEXMU007.NEOPROD.EDF.FR>
Message-ID: <9B5870DC-5F65-4F2A-B35E-109F2B7B6851@r-project.org>


On Mar 8, 2016, at 6:57 AM, MAURICE Jean - externe <jean-externe.maurice at edf.fr> wrote:

>> You can call (some) R functionality from C
> When I read about 'R api' I thought that we could call all the functionality of R. I think that in the windows world, this is called OLE automation. From a pure programmer point of view, it is very convenient and my customer is creating a team of programmers. But, if only 'some' functionalities can be called, it's not so useful. So we'll stick with FORTRAN (I mean I don't want to make revolution).
> 

You can call *all* R functionality from C.
FWIW it's not related to OLE which is IPC and much more limited. The R API is direct linking and uses the same code as R implementation itself.

Cheers,
S



> Jean
> 
> 
> 
> Ce message et toutes les pi?ces jointes (ci-apr?s le 'Message') sont ?tablis ? l'intention exclusive des destinataires et les informations qui y figurent sont strictement confidentielles. Toute utilisation de ce Message non conforme ? sa destination, toute diffusion ou toute publication totale ou partielle, est interdite sauf autorisation expresse.
> 
> Si vous n'?tes pas le destinataire de ce Message, il vous est interdit de le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. Si vous avez re?u ce Message par erreur, merci de le supprimer de votre syst?me, ainsi que toutes ses copies, et de n'en garder aucune trace sur quelque support que ce soit. Nous vous remercions ?galement d'en avertir imm?diatement l'exp?diteur par retour du message.
> 
> Il est impossible de garantir que les communications par messagerie ?lectronique arrivent en temps utile, sont s?curis?es ou d?nu?es de toute erreur ou virus.
> ____________________________________________________
> 
> This message and any attachments (the 'Message') are intended solely for the addressees. The information contained in this Message is confidential. Any use of information contained in this Message not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval.
> 
> If you are not the addressee, you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return message.
> 
> E-mail communication cannot be guaranteed to be timely secure, error or virus-free.
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] ALLOCATE in a FORTRAN subroutine
Simon Urbanek