[Rd] Namespace File

Simon Urbanek simon.urbanek at r-project.org
Wed Dec 15 16:41:34 CET 2010


On Dec 15, 2010, at 6:57 AM, Fabio Mathias Corrêa wrote:

> Dear colleagues,
> 
> 
> Problem solved with:
> 
> 
> ".First.lib" <- function(lib, pkg)
> {
>  library.dynam("Bayesthres", package = pkg, lib.loc = lib)
>  return(invisible(0))
> }
> 

Well, that's shooting at a clay pigeon with a missile ;). You could have done the same simply using
useDynLib(Bayesthres)
in the NAMESPACE.

Your issue is very likely just a mixup of cases as there is no "vuA" symbol in Fortran as all symbols are lower-case (at the object file level).

Cheers,
Simon



More information about the R-devel mailing list