The Matlab toolbox 'Matlab coder' allows you to generate ANSI C source code (as long as it does not involve any sophisticated toolboxes – at least for now).
Given this discussion:
I understand that R can also produce (at least?) 'object' files from R (version greater 2.13). I presume these could also be linked later to build an executable.
Is this correct? What is the advantage of Matlab coder over R’s ‘standard functionality’? Any clarification would be very much appreciated. Many thanks in advance.