[Rd] Namespace File

Fabio Mathias Corrêa fabio.ufla at yahoo.com.br
Wed Dec 15 19:31:45 CET 2010

Dear Simon

By using useDynLib (Bayesthres) in NAMESPACE file. Appeared another error:

Error in dyn.load("Bayesthres.so") : 
  unable to load shared object '/home/fmc/Bayesthres/Bayesthres.so':
  /home/fmc/Bayesthres/Bayesthres.so: cannot open shared object file: No such 
file or directory
ERROR: lazy loading failed for package ‘Bayesthres’
* removing ‘/home/fmc/Bayesthres.Rcheck/Bayesthres’

Now he is not recognizing the file Bayesthres.so

Grateful for the help.

              Fábio Mathias Corrêa
         Departamento de Estatística
   Universidade Estadual de Santa Cruz

----- Mensagem original ----
De: Simon Urbanek <simon.urbanek at r-project.org>
Para: Fabio Mathias Corrêa <fabio.ufla at yahoo.com.br>
Cc: r-devel at r-project.org
Enviadas: Quarta-feira, 15 de Dezembro de 2010 13:41:34
Assunto: Re: [Rd] Namespace File

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

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).



More information about the R-devel mailing list