R-alpha: dyn.load

Alan K.F. Siu (hrnekfs@econ1.hku.hk)
Fri, 29 Mar 1996 01:26:43 +0800 (HKT)


From: "Alan K.F. Siu" <hrnekfs@econ1.hku.hk>
Message-Id: <199603281726.BAA28513@econ1.hku.hk>
Subject: R-alpha: dyn.load
To: R-testers@stat.math.ethz.ch
Date: Fri, 29 Mar 1996 01:26:43 +0800 (HKT)

Dear R-testers,

I'm experimenting with dyn.load, but without success. Please
help.

/tmp/ram> uname -a
Linux nls 1.3.35 

/tmp/ram> f77 -c -fPIC dsweep.f -o dsweep.o
f77 -c -fPIC dsweep.f -o dsweep.o

/tmp/ram> f77 -shared -Wl,-soname junk.so -o junk.so dsweep.o

/tmp/ram> R

R : Copyright (c) 1995-1996, Robert Gentleman and Ross Ihaka
Version 0.2 Alpha, (Released: Mar 15, 1996)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type `license()' for details.

> dyn.load("junk.so")
dyn.load("junk.so")

> source("dsweep")

> dsweep(x)
Error in .Fortran("dsweep",  : C/Fortran function not in dynamic load table


Alan Siu                              tel: (852) 2857-8505
School of Economics & Finance         fax: (852) 2548-1152
The University of Hong Kong           Internet: hrnekfs@econ1.hku.hk 
Hong Kong                             Bitnet:   hrnekfs@hkucc.bitnet

  
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-testers mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: r-testers-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-