[Rcpp-devel] Loading my own dynamic library using Module ?

Tama Ma pingnang at phys.ethz.ch
Sat Dec 4 12:10:00 CET 2010


Dear Romain,

	This works perfectly!
	Thank you very much.

Best regards,
Tama Ma

(PS: Thank you for your advice on moving to R packages, and I will read on how to do that.)


On Dec 4, 2010, at 11:40 AM, Romain Francois wrote:

>> 
>> 	Thank you very much.
>> 
>> Best regards,
>> Tama Ma
> 
> I think you can use dyn.load:
> 
> dll <- dyn.load( "/my/project/dir/lib/mod.so" )
> mod <- Module( "mod", dll )



ETH Zurich
Tama Ma
Institüt für Theoretische Physik
HIT K 31.3
Wolfgang-Pauli-Strasse 27
ETH Hönggerberg
8093 Zürich
Switzerland

pingnang at itp.phys.ethz.ch
www.phys.ethz.ch/~pingnang

+41 44 633 76 55  (Office Phone)
+41 44 633 11 15  (Office Fax)



More information about the Rcpp-devel mailing list