Skip to content

request of information about creating DLL from R to be used in other languages/programs

5 messages · Ludovic Brossard, Ludovic.Brossard, Jeff Newmiller

#
Possible, but almost certainly not worth it. R is an interpreted language, and the dll would have to encapsulate the whole shebang.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.
On July 15, 2014 8:35:38 AM PDT, Ludovic Brossard <Ludovic.Brossard at rennes.inra.fr> wrote:
#
You want algorithms compiled into a dll... I am satisfied with R in its current form, so I am not a particularly good guide for you. If you wish to continue with the wrapping-R approach then you should read the Writing R Extensions document that comes with R, and study R-devel mailing list instead of this one. You should also carefully review the licensing terms for R and the contributed packages you wish to work with to avoid surprises later. (Open source software is not a free pass to get algorithm implementations to use for just anything you like... they come with some responsibilities too.)
Alternatively you could re-implement the algorithms (in the compiled language of your choice) from any original publications referenced in the R/packages documentation and proceed with your programming as you see fit.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.
On July 15, 2014 1:24:25 PM PDT, "Ludovic.Brossard" <ludovic.brossard at rennes.inra.fr> wrote:
#
Thanks for all these indications

Regards

Ludovic Brossard

-----Message d'origine-----
De : Jeff Newmiller [mailto:jdnewmil at dcn.davis.CA.us] 
Envoy? : mercredi 16 juillet 2014 04:06
? : Ludovic.Brossard
Cc : Ludovic Brossard; r-help at r-project.org
Objet : Re: [R] request of information about creating DLL from R to be used in other languages/programs

You want algorithms compiled into a dll... I am satisfied with R in its current form, so I am not a particularly good guide for you. If you wish to continue with the wrapping-R approach then you should read the Writing R Extensions document that comes with R, and study R-devel mailing list instead of this one. You should also carefully review the licensing terms for R and the contributed packages you wish to work with to avoid surprises later. (Open source software is not a free pass to get algorithm implementations to use for just anything you like... they come with some responsibilities too.) Alternatively you could re-implement the algorithms (in the compiled language of your choice) from any original publications referenced in the R/packages documentation and proceed with your programming as you see fit.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
---------------------------------------------------------------------------
Sent from my phone. Please excuse my brevity.
On July 15, 2014 1:24:25 PM PDT, "Ludovic.Brossard" <ludovic.brossard at rennes.inra.fr> wrote: