[Roxygen-devel] useDynLib when using roxygen2

Hadley Wickham hadley at rice.edu
Wed Sep 28 13:50:11 CEST 2011


Hi Rainer,

It's @useDynLib ;)

Hadley

On Wed, Sep 28, 2011 at 6:15 AM, Rainer M Krug <r.m.krug at gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi
>
> I have a package which needs a useDynLib() in the NAMESPACE file.
> I am using roxygenize as follow:
>
> Rscript -e "library(roxygen2);roxygenize('pkg', roxygen.dir='pkg',
> copy.package=FALSE, unlink.target=FALSE)"
>
> and the NAMESPACES is correctly created (including the export() as
> requested by the @export tag), but how can I add the useDynLib? I
> remember reading somewhere that I can use a tag - but which one?
>
> Thanks,
>
> Rainer
>
>
> - --
> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
> Biology, UCT), Dipl. Phys. (Germany)
>
> Centre of Excellence for Invasion Biology
> Stellenbosch University
> South Africa
>
> Tel :       +33 - (0)9 53 10 27 44
> Cell:       +33 - (0)6 85 62 59 98
> Fax :       +33 - (0)9 58 10 27 44
>
> Fax (D):    +49 - (0)3 21 21 25 22 44
>
> email:      Rainer at krugs.de
>
> Skype:      RMkrug
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk6DAeEACgkQoYgNqgF2egqPzQCfafmnr896skhJSMUMRaqmvtiC
> ZOAAniSyWoh/4Ili/5lKhW8CxMdy/DtZ
> =4XJc
> -----END PGP SIGNATURE-----
> _______________________________________________
> Roxygen-devel mailing list
> Roxygen-devel at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/roxygen-devel
>



-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/


More information about the Roxygen-devel mailing list