[Rd] Auto-upgrading a package under Windows ?

Dirk Eddelbuettel edd at debian.org
Thu May 21 15:46:40 CEST 2009


On 21 May 2009 at 07:11, Prof Brian Ripley wrote:
| You would need not to use UseDynLib in the NAMESPACE, but load the DLL 
| in the .onLoad via library.dynam.

Martin Morgan had suggested the same in private mail, and that is indeed the
solution: do not load the dynamic library via NAMESPACE, compare and possibly
upgrage from .onLoad in R/zzz.R and only load the dynamic library the
old-school way via library.dynam.  That works in some initial testing, and
I'll give it some 'field testing'.

Thanks for the help and follow-up.

Dirk

-- 
Three out of two people have difficulties with fractions.



More information about the R-devel mailing list