[Rd] Package with multiple shared libraries

From: Andreas Borg <andreas.borg_at_unimedizin-mainz.de>
Date: Mon, 15 Nov 2010 11:10:52 +0100


Dear R-devel members,

I would like to compile a package with two seperate shared libraries. For example, in a package 'foo', a file 'bar.so' built from a distinct set of source files should be installed in addition to the default 'foo.so' (or .dll on windows). Does anyone know about a way to achieve this without having a custom Makefile, e.g. via 'Makevars'?

Also, I'd be thankful for information on existing packages which make use of this or a similar customization.

Just in case anyone is interested in details: I have some C-code which is not intended to be loaded into R but into a SQLite database to which I connect via RSQLite. I would like to have these object in a seperate library.

Thanks and kind regards,

Andreas

-- 
Andreas Borg
Medizinische Informatik

UNIVERSITÄTSMEDIZIN
der Johannes Gutenberg-Universität
Institut für Medizinische Biometrie, Epidemiologie und Informatik
Obere Zahlbacher Straße 69, 55131 Mainz
www.imbei.uni-mainz.de

Telefon +49 (0) 6131 175062
E-Mail: borg_at_imbei.uni-mainz.de

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der
richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den
Absender und löschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe
dieser Mail und der darin enthaltenen Informationen ist nicht gestattet.

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Mon 15 Nov 2010 - 10:15:32 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 15 Nov 2010 - 16:10:20 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive