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.urba...@r-project.org> Para: Fabio Mathias Corrêa <fabio.u...@yahoo.com.br> Cc: r-devel@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 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 ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel