Skip to content
Prev 48670 / 63424 Next

create R package include Fortran source code.

yiqun yang <emiliawxr <at> gmail.com> writes:
-------------------------------------------------------------

[deleted]

-------------------------------------------------------------
?.First.lib

refers to the base-defunct {base} help page which says:

[...]

# Defunct in 2.14.0
.First.lib(lib, pkg)

[...]
Details

Some of these have stubs which report that they are defunct, but most have
been removed completely (apart from being documented here).
[...]

====

So, don't use .First.lib.

Try a useDynLib directive in your NAMESPACE file.

You probably need to spend some time pondering 

  Writing R Extensions

especially section

1.5.4 useDynLib

HTH,

Chuck