Re: [Rd] C vs. C++ as learning and development tool for R

From: Vladimir Dergachev <>
Date: Sat 20 Jan 2007 - 02:42:13 GMT

On Friday 19 January 2007 6:46 pm, Ross Boylan wrote:
> On Fri, Jan 19, 2007 at 03:55:30AM -0500, Kimpel, Mark William wrote:
> I can't say much about "libraries already on other machines", but the
> C runtime is probably the one you can count on being there the most.

Well, I don't think it is there on Windows machines - and it is specific to the compiler. Visual C has several different versions, Borland had its own and there were several major releases of GNU C library.

My preference is that on Windows one only distributes static binaries, or, uses a small loadable object (i.e. dll) from Tcl/Tk or R.

On Linux I found it is best to link C and X11/GL libraries dynamically (as older versions are usually available) and link everything else statically. Major exception: condor linked binaries are static.

Caveat - I have not distributed anything but GPL/LGPL code, so making static binaries was not an issue. If you have a closed source application than any LGPL libraries you use must be linked dynamically and you cannot use GPL code at all.


                                       Vladimir Dergachev

______________________________________________ mailing list Received on Sat Jan 20 13:44:21 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 20 Jan 2007 - 09:31:00 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.