[R] Make Packages with R, DLL
Prof Brian D Ripley
ripley at stats.ox.ac.uk
Sun Jan 23 07:29:36 CET 2000
On Sat, 22 Jan 2000, Erin Hodgess wrote:
> Hello again R People:
>
> I'm still stuck on my packages and FORTRAN problem.
>
> I made a directory called erin, (in the library tree)
> I created a sub-directory called R, in which I put
> my R source code.
As what? It is looking for a single file called "erin".
> I created a sub-directory called libs, in which I put
> my FORTRAN program, (compiled and made into a DLL).
>
> Here is my output
>
> > library(erin)
> Warning there is no R source code in erin
See above.
> I also get an error if I try to dyn.load my program
> can't load shared library
I think it should say `unable to load shared library' _and_ give a reason.
> R Version 0.90.1 on Windows 98 (binary)
> WATCOM FORTRAN compiler, Version 11.0 (I lied yesterday).
Can you report the exact message? It is likely that the DLL is invalid
or that it links to other DLLs that cannot be found (they must be on your
path).
I do think you would find it easier to use the standard procedure, that
is use the mingw32 compiler and make. It will get all those
tedious details right automatically.
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list