From simon.urbanek at r-project.org  Wed Dec 15 16:41:34 2010
From: simon.urbanek at r-project.org (Simon Urbanek)
Date: Wed, 15 Dec 2010 10:41:34 -0500
Subject: [Rd] Namespace File
In-Reply-To: <362962.42310.qm@web59712.mail.ac4.yahoo.com>
References: <362962.42310.qm@web59712.mail.ac4.yahoo.com>
Message-ID: <80693E0D-7A0C-4678-B714-314421FFEC32@r-project.org>


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



[Rd] Namespace File
Simon Urbanek